summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandtouch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandtouch.cpp')
-rw-r--r--src/client/qwaylandtouch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandtouch.cpp b/src/client/qwaylandtouch.cpp
index f5521a31c..48c869a60 100644
--- a/src/client/qwaylandtouch.cpp
+++ b/src/client/qwaylandtouch.cpp
@@ -48,11 +48,11 @@ namespace QtWaylandClient {
QWaylandTouchExtension::QWaylandTouchExtension(QWaylandDisplay *display, uint32_t id)
: QtWayland::qt_touch_extension(display->wl_registry(), id, 1),
mDisplay(display),
- mTouchDevice(0),
+ mTouchDevice(nullptr),
mPointsLeft(0),
mFlags(0),
mMouseSourceId(-1),
- mInputDevice(0)
+ mInputDevice(nullptr)
{
}