summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomap_p.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-04-18 13:34:28 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-04-19 08:34:59 +0000
commite4042e3cee4b84748f36609abee6555594a61afb (patch)
treeda3917c38ed7081f622a1bd52f47ca5d00a4c276 /src/location/declarativemaps/qdeclarativegeomap_p.h
parent9e12ec43e9490651f43f9ae9ff1c3e3bb4834754 (diff)
downloadqtlocation-e4042e3cee4b84748f36609abee6555594a61afb.tar.gz
Fix build for -no-feature-wheelevent
Change-Id: I69246dcaeda841892b1efe182725629517031447 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap_p.h b/src/location/declarativemaps/qdeclarativegeomap_p.h
index f08998e2..32e892c2 100644
--- a/src/location/declarativemaps/qdeclarativegeomap_p.h
+++ b/src/location/declarativemaps/qdeclarativegeomap_p.h
@@ -214,7 +214,9 @@ protected:
void mouseUngrabEvent() Q_DECL_OVERRIDE ;
void touchUngrabEvent() Q_DECL_OVERRIDE;
void touchEvent(QTouchEvent *event) Q_DECL_OVERRIDE ;
+#if QT_CONFIG(wheelevent)
void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE ;
+#endif
bool childMouseEventFilter(QQuickItem *item, QEvent *event) Q_DECL_OVERRIDE;
bool sendMouseEvent(QMouseEvent *event);