From 1629fa0c6c000127d84956c0604804a896e8f9bf Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 30 Jun 2021 11:28:32 +0200 Subject: Use nullptr rather than 0 for null pointers Change-Id: I2921298ad2e04001bdee8824c56f01c203efb7d6 Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev Reviewed-by: Shawn Rutledge --- examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods') 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); -- cgit v1.2.3