diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-05-25 13:52:07 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-25 15:42:32 +0000 |
commit | 69f9c1508f7e0965b599097f616cc8204935c1eb (patch) | |
tree | d39b59fd761b165c704593f2216b530b62c56c23 /src/compositor/global | |
parent | 51dcf7c46170b272ed7a63f9dfe1169e90041be8 (diff) |
Compile with -Wzero-as-null-pointer-constant
Task-number: QTBUG-53619
Change-Id: Idf073287f215113431cad64f85628e010176ab74
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/compositor/global')
-rw-r--r-- | src/compositor/global/qwaylandcompositorextension.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/global/qwaylandcompositorextension.h b/src/compositor/global/qwaylandcompositorextension.h index 762df2e8f..0ba54c882 100644 --- a/src/compositor/global/qwaylandcompositorextension.h +++ b/src/compositor/global/qwaylandcompositorextension.h @@ -62,8 +62,8 @@ public: void removeExtension(QWaylandCompositorExtension *extension); protected: - QWaylandObject(QObject *parent = 0); - QWaylandObject(QObjectPrivate &d, QObject *parent = 0); + QWaylandObject(QObject *parent = nullptr); + QWaylandObject(QObjectPrivate &d, QObject *parent = nullptr); QList<QWaylandCompositorExtension *> extension_vector; }; |