diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-02-10 13:12:55 +1000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-10 14:48:19 +0100 |
commit | 62234914bc39be509c6a764c99d592e0bc5ecb5c (patch) | |
tree | b029e5359fc71a212d31972af20852dc7ee96005 | |
parent | dc99feebd7c7282847ecaf4dd13ee24294fef95e (diff) |
Emit panFinished() when pan finishes without a flick.
Task-number: QTBUG-32638
Change-Id: Idb49b6886993545667324a0c861d88ffefd29131
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r-- | src/imports/location/qdeclarativegeomapgesturearea.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomapgesturearea.cpp b/src/imports/location/qdeclarativegeomapgesturearea.cpp index 1f1d0c89..dcc86bac 100644 --- a/src/imports/location/qdeclarativegeomapgesturearea.cpp +++ b/src/imports/location/qdeclarativegeomapgesturearea.cpp @@ -1076,8 +1076,10 @@ void QDeclarativeGeoMapGestureArea::panStateMachine() { panState_ = panInactive; // mark as inactive for use by camera - if (pinchState_ == pinchInactive) + if (pinchState_ == pinchInactive) { + emit panFinished(); emit movementStopped(); + } } } break; |