summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativegeomap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location/qdeclarativegeomap.cpp')
-rw-r--r--src/imports/location/qdeclarativegeomap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeomap.cpp b/src/imports/location/qdeclarativegeomap.cpp
index ccff4fd1..cf492977 100644
--- a/src/imports/location/qdeclarativegeomap.cpp
+++ b/src/imports/location/qdeclarativegeomap.cpp
@@ -942,9 +942,10 @@ void QDeclarativeGeoMap::touchEvent(QTouchEvent *event)
event->type() == QEvent::TouchCancel) {
ungrabTouchPoints();
}
+ } else {
+ //ignore event so sythesized event is generated;
+ QQuickItem::touchEvent(event);
}
- //this will always ignore event so sythesized event is generated;
- QQuickItem::touchEvent(event);
}
/*!