fix -Winconsistent-missing-override
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
||||
DrawView* getBaseView(void) const;
|
||||
virtual App::DocumentObject* getBaseObject(void) const;
|
||||
bool keepUpdated(void);
|
||||
double getScale(void) const;
|
||||
double getScale(void) const override;
|
||||
void adjustLastSegment(void);
|
||||
bool getDefAuto(void) const;
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override;
|
||||
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override;
|
||||
virtual void keyPressEvent(QKeyEvent * event);
|
||||
virtual void keyPressEvent(QKeyEvent * event) override;
|
||||
|
||||
virtual void setRadius(float r) override;
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ protected:
|
||||
Base::Vector3d m_attachPoint;
|
||||
|
||||
protected:
|
||||
QColor getNormalColor();
|
||||
QColor getNormalColor() override;
|
||||
|
||||
QGraphicsItem* m_parentItem;
|
||||
QGEPath* m_line;
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
~QGMText() {}
|
||||
|
||||
enum {Type = QGraphicsItem::UserType + 300};
|
||||
int type() const { return Type;}
|
||||
int type() const override { return Type;}
|
||||
virtual void paint( QPainter * painter,
|
||||
const QStyleOptionGraphicsItem * option,
|
||||
QWidget * widget = 0 ) override;
|
||||
|
||||
Reference in New Issue
Block a user