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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandtouch.cpp b/src/client/qwaylandtouch.cpp
index 0394aef31..b79f5cf5b 100644
--- a/src/client/qwaylandtouch.cpp
+++ b/src/client/qwaylandtouch.cpp
@@ -165,7 +165,7 @@ void QWaylandTouchExtension::sendTouchEvent()
QWindowSystemInterface::handleTouchEvent(mTargetWindow, mTimestamp, mTouchDevice, mTouchPoints);
- Qt::TouchPointStates states = 0;
+ Qt::TouchPointStates states = {};
for (int i = 0; i < mTouchPoints.count(); ++i)
states |= mTouchPoints.at(i).state;