diff options
author | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-23 02:03:12 +0900 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2019-11-25 10:26:28 +0000 |
commit | 2bbf716c5743ca8d49474cea0560816c42fdbf9f (patch) | |
tree | d3b02e18c413bb37571a80798dd366407eab0b0a /examples | |
parent | 4b5722dff41da5fd23ebddccd3854220f623ac22 (diff) |
Apply 'modernize-use-override' fix-it
Change-Id: I1e31b2983568848db8af7139244fe96821ac3b1e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/collidingmice/mouse.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/collidingmice/mouse.h b/examples/collidingmice/mouse.h index 4e6958c78..a98618ea5 100644 --- a/examples/collidingmice/mouse.h +++ b/examples/collidingmice/mouse.h @@ -59,13 +59,13 @@ class Mouse : public QGraphicsItem public: Mouse(); - QRectF boundingRect() const; - QPainterPath shape() const; + QRectF boundingRect() const override; + QPainterPath shape() const override; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, - QWidget *widget); + QWidget *widget) override; protected: - void advance(int step); + void advance(int step) override; private: qreal angle; |