summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandtouch_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-06-25 15:04:20 +0200
committerLiang Qi <liang.qi@qt.io>2020-06-26 10:46:20 +0200
commitbad18e2db95a399e350b890a0cd084d53c1e2ae8 (patch)
tree9af16cdafdb00252df807cf4db8572318cd4d5aa /src/client/qwaylandtouch_p.h
parent04ed6ad3fc9816947dfe1b3924ca2f109372408c (diff)
Adapt to new QPointingDevice API
QTouchDevice has been replaced with a more general QPointingDevice. All input devices need detailed information and need to be registered via QWindowSystemInterface::registerInputDevice(). This patch is not doing that yet; it's just enough to get qtwayland to compile again. Done-With: Liang Qi <liang.qi@qt.io> Change-Id: Id3a2e475ed07294a1977004fc72b11e466acc216 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/client/qwaylandtouch_p.h')
-rw-r--r--src/client/qwaylandtouch_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandtouch_p.h b/src/client/qwaylandtouch_p.h
index 93a829e21..444e63fac 100644
--- a/src/client/qwaylandtouch_p.h
+++ b/src/client/qwaylandtouch_p.h
@@ -95,7 +95,7 @@ private:
QList<QWindowSystemInterface::TouchPoint> mTouchPoints;
QList<QWindowSystemInterface::TouchPoint> mPrevTouchPoints;
- QTouchDevice *mTouchDevice = nullptr;
+ QPointingDevice *mTouchDevice = nullptr;
uint32_t mTimestamp;
int mPointsLeft;
uint32_t mFlags;