summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandinputdevice_p.h
diff options
context:
space:
mode:
authorJiDe Zhang <zhangjide@uniontech.com>2021-05-26 10:05:14 +0800
committerLiang Qi <liang.qi@qt.io>2021-06-25 15:31:12 +0200
commit5e37d73ad9d00180dec179119e07f2387d45f335 (patch)
tree6bdbd517f861306ff953f93b6aa9e7b09468ed44 /src/client/qwaylandinputdevice_p.h
parentf91151bc9648c5b3cd13b5f82816093f5c8d20fb (diff)
Use QEventPoint::State instead of Qt::TouchPointState
Also fix compile warnings about -Wenum-compare. Pick-to: 6.2 6.1 6.0 5.15 Change-Id: I5e94fc028c727b155d5db4c7def35d518c497c5c Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/client/qwaylandinputdevice_p.h')
-rw-r--r--src/client/qwaylandinputdevice_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h
index 0d408d36b..3e6484314 100644
--- a/src/client/qwaylandinputdevice_p.h
+++ b/src/client/qwaylandinputdevice_p.h
@@ -207,7 +207,7 @@ protected:
uint32_t mSerial = 0;
void seat_capabilities(uint32_t caps) override;
- void handleTouchPoint(int id, Qt::TouchPointState state, const QPointF &surfacePosition = QPoint());
+ void handleTouchPoint(int id, QEventPoint::State state, const QPointF &surfacePosition = QPoint());
QPointingDevice *mTouchDevice = nullptr;
QPointingDevice *mTouchPadDevice = nullptr;