TechDraw: [skip ci] fix -Winconsistent-missing-override

This commit is contained in:
wmayer
2020-04-14 12:57:07 +02:00
parent 43d1a76758
commit 94937b32f4
2 changed files with 5 additions and 5 deletions

View File

@@ -42,8 +42,8 @@ public:
explicit QGIGhostHighlight();
~QGIGhostHighlight();
enum {Type = QGraphicsItem::UserType + 177};
int type() const { return Type;}
enum {Type = QGraphicsItem::UserType + 177};
int type() const override { return Type;}
void setInteractive(bool state);
void setRadius(double r);

View File

@@ -50,8 +50,8 @@ public:
explicit QGIHighlight();
~QGIHighlight();
enum {Type = QGraphicsItem::UserType + 176};
int type() const { return Type;}
enum {Type = QGraphicsItem::UserType + 176};
int type() const override { return Type;}
virtual void paint(QPainter * painter,
const QStyleOptionGraphicsItem * option,
@@ -60,7 +60,7 @@ public:
void setBounds(double x1,double y1,double x2,double y2);
void setReference(char* sym);
void setFont(QFont f, double fsize);
virtual void draw();
virtual void draw() override;
void setInteractive(bool state);
protected: