From 213b8908993ce39587ca7e8c90ede4c21c2af554 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 30 Jun 2021 11:31:03 +0200 Subject: Add missing "override" keywords Our examples should follow best practices. Change-Id: Ice90a818ae46e921b421e8d297806d8f7200294b Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev --- examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qml/tutorials/extending-qml/chapter1-basics') 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; -- cgit v1.2.3