summaryrefslogtreecommitdiffstats
path: root/src/input/backend/mousedevice_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/backend/mousedevice_p.h')
-rw-r--r--src/input/backend/mousedevice_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/backend/mousedevice_p.h b/src/input/backend/mousedevice_p.h
index 0b95c6183..a085194ff 100644
--- a/src/input/backend/mousedevice_p.h
+++ b/src/input/backend/mousedevice_p.h
@@ -99,7 +99,9 @@ public:
bool isButtonPressed(int buttonIdentifier) const Q_DECL_OVERRIDE;
void updateMouseEvents(const QList<QT_PREPEND_NAMESPACE(QMouseEvent)> &events);
+#if QT_CONFIG(wheelevent)
void updateWheelEvents(const QList<QT_PREPEND_NAMESPACE(QWheelEvent)> &events);
+#endif
MouseState mouseState() const;
QPointF previousPos() const;