summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-04-17 13:31:54 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-04-19 11:45:58 +0000
commitecc8182f6c6c8b1448a35de46c3f5598bbf35150 (patch)
treea20d08677dd7365b2eb61ddf9307d160d2277928 /src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
parentf9b9f578f6e7e1ba572a7f098d53d3a0b0fd4a97 (diff)
downloadqtlocation-ecc8182f6c6c8b1448a35de46c3f5598bbf35150.tar.gz
Fix MapPolyline being drawn misplaced and moving when clipped
Regression introduced in f0bc0db15ed262a8f31bb07b3b46a5cdf9277e79 Change-Id: I4c4a3cb2302daeb825be21f9e2f6c235d2cb7c93 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolylinemapitem_p.h')
-rw-r--r--src/location/declarativemaps/qdeclarativepolylinemapitem_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h b/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
index 61439097..a34acad4 100644
--- a/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
+++ b/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h
@@ -95,7 +95,8 @@ public:
const QGeoCoordinate geoLeftBound);
void updateScreenPoints(const QGeoMap &map,
- qreal strokeWidth);
+ qreal strokeWidth,
+ bool adjustTranslation = true);
void clearSource();