Skip to content

Commit

Permalink
fix -Winconsistent-missing-override
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 23, 2019
1 parent e72b48e commit 81f3795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/TechDraw/Gui/QGIDimLines.h
Expand Up @@ -40,7 +40,7 @@ class TechDrawGuiExport QGIDimLines : public QGIPrimPath
~QGIDimLines() {}

enum {Type = QGraphicsItem::UserType + 175};
int type() const { return Type;}
int type() const override { return Type;}
virtual QRectF boundingRect() const override;
virtual QPainterPath shape() const override;

Expand All @@ -50,7 +50,7 @@ class TechDrawGuiExport QGIDimLines : public QGIPrimPath
//double getLineWidth() { return m_lineWidth; }
//void setLineWidth(double w);
//QPainterPath shape() const;
virtual void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
virtual void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0) override;

protected:
//QVariant itemChange(GraphicsItemChange change, const QVariant &value);
Expand Down

0 comments on commit 81f3795

Please sign in to comment.