diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-06-17 16:38:44 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-06-30 13:13:29 +0000 |
commit | af821cdc792bb0057c920f264bcb564988e0ff88 (patch) | |
tree | d02657fe14d5cdd985f411d218aefb4f7f56327b /src/imports/positioning/positioning.cpp | |
parent | 5406993e597cc0747993388486331539222f190c (diff) | |
download | qtlocation-af821cdc792bb0057c920f264bcb564988e0ff88.tar.gz |
Fix map flick animation in qdeclarativegeomapgesturearea
Current implementation is using QPropertyAnimation for flick, which was
suitable for old QML1. Use QQuickCoordinateAnimation instead.
This change is necessary to control what type of coordinate
interpolation is used for flicks. It reverts
58d8b5e84ac6952b411cff3bca7336073349290e.
Task-number: QTBUG-46147
Change-Id: I0a3bf263147b3733c617d38c364f66173b806de5
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/positioning/positioning.cpp')
-rw-r--r-- | src/imports/positioning/positioning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/positioning/positioning.cpp b/src/imports/positioning/positioning.cpp index ef8eb776..4ac9b2e5 100644 --- a/src/imports/positioning/positioning.cpp +++ b/src/imports/positioning/positioning.cpp @@ -517,7 +517,7 @@ public: qRegisterMetaType<QGeoShape>(); QMetaType::registerEqualsComparator<QGeoShape>(); - qRegisterAnimationInterpolator<QGeoCoordinate>(geoCoordinateInterpolator); + qRegisterAnimationInterpolator<QGeoCoordinate>(q_coordinateShortestInterpolator); // Register the 5.0 types // 5.0 is silent and not advertised |