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/compositor_api/qwaylandkeyboard.h | |
parent | 51dcf7c46170b272ed7a63f9dfe1169e90041be8 (diff) | |
download | qtwayland-69f9c1508f7e0965b599097f616cc8204935c1eb.tar.gz |
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/compositor_api/qwaylandkeyboard.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandkeyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandkeyboard.h b/src/compositor/compositor_api/qwaylandkeyboard.h index cee32f4e..b5bf6fe5 100644 --- a/src/compositor/compositor_api/qwaylandkeyboard.h +++ b/src/compositor/compositor_api/qwaylandkeyboard.h @@ -76,7 +76,7 @@ class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandKeyboard : public QWaylandObject Q_PROPERTY(quint32 repeatRate READ repeatRate WRITE setRepeatRate NOTIFY repeatRateChanged) Q_PROPERTY(quint32 repeatDelay READ repeatDelay WRITE setRepeatDelay NOTIFY repeatDelayChanged) public: - QWaylandKeyboard(QWaylandInputDevice *inputDevice, QObject *parent = 0); + QWaylandKeyboard(QWaylandInputDevice *inputDevice, QObject *parent = nullptr); QWaylandInputDevice *inputDevice() const; QWaylandCompositor *compositor() const; |