aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp')
-rw-r--r--examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp b/examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp
index 86407f1f17..ca25474aee 100644
--- a/examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp
+++ b/examples/declarative/tutorials/extending/chapter2-methods/piechart.cpp
@@ -40,8 +40,8 @@
#include "piechart.h"
#include <QPainter>
-PieChart::PieChart(QSGItem *parent)
- : QSGPaintedItem(parent)
+PieChart::PieChart(QQuickItem *parent)
+ : QQuickPaintedItem(parent)
{
}