aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-30 11:28:32 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-30 14:16:49 +0200
commit1629fa0c6c000127d84956c0604804a896e8f9bf (patch)
treecd8bcfde2bfad7647da97d4a6365d6e97a8c3844 /tools/qml
parent8635e5b300298c01ada7dc51bfca76c3f02bfc14 (diff)
Use nullptr rather than 0 for null pointers
Change-Id: I2921298ad2e04001bdee8824c56f01c203efb7d6 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/conf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qml/conf.h b/tools/qml/conf.h
index 84167c9134..7431276735 100644
--- a/tools/qml/conf.h
+++ b/tools/qml/conf.h
@@ -78,8 +78,7 @@ class Config : public QObject
QML_NAMED_ELEMENT(Configuration)
QML_ADDED_IN_VERSION(1, 0)
public:
- Config (QObject* parent=0) : QObject(parent)
- {}
+ Config (QObject *parent = nullptr) : QObject(parent) {}
QQmlListProperty<PartialScene> sceneCompleters()
{