summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomap.cpp
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.cpp
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.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()
{