aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2020-02-21 01:00:10 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-02-21 09:00:37 +0100
commitf6808f89a8c17e046f53b0bb5ff36cd9e24e9772 (patch)
tree43df8901d99f1e134d7688bdf0d30d28c1679147 /src/quick/handlers
parente33e250080dbbb01015daafc8a79b569806d9467 (diff)
parent5054bb49a88a8ab76f586f79b6ef62a9142e6c83 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Conflicts: tests/auto/quick/qquickmousearea/BLACKLIST Change-Id: I3de2c6377d57f5f9204d2cfc688d50a7a0b4150c
Diffstat (limited to 'src/quick/handlers')
-rw-r--r--src/quick/handlers/qquickhandlerpoint.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickhandlerpoint.cpp b/src/quick/handlers/qquickhandlerpoint.cpp
index e6148ca072..72efdfd0f4 100644
--- a/src/quick/handlers/qquickhandlerpoint.cpp
+++ b/src/quick/handlers/qquickhandlerpoint.cpp
@@ -119,11 +119,13 @@ void QQuickHandlerPoint::reset(const QQuickEventPoint *point)
m_rotation = tp->rotation();
m_pressure = tp->pressure();
m_ellipseDiameters = tp->ellipseDiameters();
+#if QT_CONFIG(tabletevent)
} else if (event->asPointerTabletEvent()) {
m_uniqueId = event->device()->uniqueId();
m_rotation = static_cast<const QQuickEventTabletPoint *>(point)->rotation();
m_pressure = static_cast<const QQuickEventTabletPoint *>(point)->pressure();
m_ellipseDiameters = QSizeF();
+#endif
} else {
m_uniqueId = event->device()->uniqueId();
m_rotation = 0;