summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomap.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp
index 1638d1c8..f196af04 100644
--- a/src/location/declarativemaps/qdeclarativegeomap.cpp
+++ b/src/location/declarativemaps/qdeclarativegeomap.cpp
@@ -1545,6 +1545,7 @@ void QDeclarativeGeoMap::touchEvent(QTouchEvent *event)
}
}
+#if QT_CONFIG(wheelevent)
/*!
\internal
*/
@@ -1556,6 +1557,7 @@ void QDeclarativeGeoMap::wheelEvent(QWheelEvent *event)
QQuickItem::wheelEvent(event);
}
+#endif
bool QDeclarativeGeoMap::isInteractive()
{