summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandinputdevice.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2020-01-02 14:46:47 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2020-01-08 12:12:44 +0100
commit3b6216927bc0116512b1818b6642ae3361e2455c (patch)
tree1c2250ff6de2ba985f0321b2ebdb7dec7216a50c /src/client/qwaylandinputdevice.cpp
parent41416a2a88aa03a38c05d31ebce87d8644107389 (diff)
Fix compiler warnings
Change-Id: Ie0bed19704bed89044d3cf25e7aaa1f740a4b39a Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice.cpp')
-rw-r--r--src/client/qwaylandinputdevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
index d33b0db8b..ce086ee4c 100644
--- a/src/client/qwaylandinputdevice.cpp
+++ b/src/client/qwaylandinputdevice.cpp
@@ -1006,6 +1006,8 @@ bool QWaylandInputDevice::Pointer::FrameData::hasPixelDelta() const
case axis_source_finger:
case axis_source_continuous:
return !delta.isNull();
+ default:
+ return false;
}
}