summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-03-08 16:01:11 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2016-03-08 16:01:11 +0100
commitb29d6b416af7ea2cd47ec72af1e083d91583db95 (patch)
tree80b46620cc1e5ee467fb90f94bfcee77a86451e1 /src/imports
parentd21ed648f2958efaab9a041b2cd2607f4676be59 (diff)
parent8dabd241c2d7ac095cfe7be847397a288158f004 (diff)
downloadqtlocation-b29d6b416af7ea2cd47ec72af1e083d91583db95.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7
Change-Id: I18bb1c341e7d87cd1d649f2c3fc9c50141c6a1a9
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/location/qquickgeomapgesturearea.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/location/qquickgeomapgesturearea.cpp b/src/imports/location/qquickgeomapgesturearea.cpp
index f324d10e..629c9658 100644
--- a/src/imports/location/qquickgeomapgesturearea.cpp
+++ b/src/imports/location/qquickgeomapgesturearea.cpp
@@ -393,9 +393,9 @@ void QQuickGeoMapGestureArea::setAcceptedGestures(AcceptedGestures acceptedGestu
return;
m_acceptedGestures = acceptedGestures;
- setPanEnabled(acceptedGestures & GeoMapGesture::PanGesture);
- setFlickEnabled(acceptedGestures & GeoMapGesture::FlickGesture);
- setPinchEnabled(acceptedGestures & GeoMapGesture::PinchGesture);
+ setPanEnabled(acceptedGestures & PanGesture);
+ setFlickEnabled(acceptedGestures & FlickGesture);
+ setPinchEnabled(acceptedGestures & PinchGesture);
emit acceptedGesturesChanged();
}
@@ -434,9 +434,9 @@ void QQuickGeoMapGestureArea::setEnabled(bool enabled)
m_enabled = enabled;
if (enabled) {
- setPanEnabled(m_acceptedGestures & GeoMapGesture::PanGesture);
- setFlickEnabled(m_acceptedGestures & GeoMapGesture::FlickGesture);
- setPinchEnabled(m_acceptedGestures & GeoMapGesture::PinchGesture);
+ setPanEnabled(m_acceptedGestures & PanGesture);
+ setFlickEnabled(m_acceptedGestures & FlickGesture);
+ setPinchEnabled(m_acceptedGestures & PinchGesture);
} else {
setPanEnabled(false);
setFlickEnabled(false);