aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickdeliveryagent_p_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2021-04-22 19:20:30 +0900
committerTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2021-04-23 12:10:40 +0900
commitf07be98a4b065b14b89295139a3af17eaa54d557 (patch)
treec2601f075c94de7176c0e3f34c1ed9be074c010b /src/quick/util/qquickdeliveryagent_p_p.h
parentbedef212a74a62452ed31d7f65536a6c67881fc4 (diff)
Fix build without features.wheelevent
Change-Id: I03320c39431d49456e8baba66609e4e9c8850587 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/quick/util/qquickdeliveryagent_p_p.h')
-rw-r--r--src/quick/util/qquickdeliveryagent_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/util/qquickdeliveryagent_p_p.h b/src/quick/util/qquickdeliveryagent_p_p.h
index 3f2c83a8f4..854dd784d9 100644
--- a/src/quick/util/qquickdeliveryagent_p_p.h
+++ b/src/quick/util/qquickdeliveryagent_p_p.h
@@ -115,7 +115,9 @@ public:
QScopedPointer<QMutableTouchEvent> delayedTouch;
QList<const QPointingDevice *> knownPointingDevices;
+#if QT_CONFIG(wheelevent)
uint lastWheelEventAccepted = 0;
+#endif
bool allowChildEventFiltering = true;
bool allowDoubleClick = true;
bool frameSynchronousHoverEnabled = true;