diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h b/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h index ca5bede67f..e81e012d5e 100644 --- a/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h +++ b/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h @@ -73,7 +73,7 @@ public: QColor color() const; void setColor(const QColor &color); - void paint(QPainter *painter); + void paint(QPainter *painter) override; //![2] Q_INVOKABLE void clearChart(); |