diff options
Diffstat (limited to 'src/imports/location/qdeclarativegeomapgesturearea.cpp')
-rw-r--r-- | src/imports/location/qdeclarativegeomapgesturearea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomapgesturearea.cpp b/src/imports/location/qdeclarativegeomapgesturearea.cpp index b18864eb..2fabd2b3 100644 --- a/src/imports/location/qdeclarativegeomapgesturearea.cpp +++ b/src/imports/location/qdeclarativegeomapgesturearea.cpp @@ -1049,7 +1049,7 @@ bool QDeclarativeGeoMapGestureArea::canStartPan() // Check if thresholds for normal panning are met. // (normal panning vs flicking: flicking will start from mouse release event). - const int startDragDistance = qApp->styleHints()->startDragDistance(); + const int startDragDistance = qApp->styleHints()->startDragDistance() * 2; QPointF p1 = declarativeMap_->mapFromScene(m_allPoints.at(0).scenePos()); int dyFromPress = int(p1.y() - sceneStartPoint1_.y()); int dxFromPress = int(p1.x() - sceneStartPoint1_.x()); |