diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-06-30 11:31:03 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-06-30 14:17:01 +0200 |
commit | 213b8908993ce39587ca7e8c90ede4c21c2af554 (patch) | |
tree | 62e5023089e274e5d3fa19b0276d7fe8f21fc1b3 /examples/qml/tutorials/extending-qml/chapter1-basics | |
parent | b200fbe213adf2859ddebefac0be60b04389a8a6 (diff) |
Add missing "override" keywords
Our examples should follow best practices.
Change-Id: Ice90a818ae46e921b421e8d297806d8f7200294b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter1-basics')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h b/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h index b2a0f60893..b02075cff7 100644 --- a/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h +++ b/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h @@ -70,7 +70,7 @@ public: QColor color() const; void setColor(const QColor &color); - void paint(QPainter *painter); + void paint(QPainter *painter) override; private: QString m_name; |