aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h')
-rw-r--r--examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h2
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 271afbf653..ca5bede67f 100644
--- a/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
@@ -65,7 +65,7 @@ class PieChart : public QQuickPaintedItem
public:
//![1]
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);