diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-17 13:21:58 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-18 14:15:50 +0000 |
commit | f9b9f578f6e7e1ba572a7f098d53d3a0b0fd4a97 (patch) | |
tree | 8e35af7f0103fa516f321b796086ce0ecc37495a /src/location/declarativemaps/qdeclarativepolygonmapitem_p.h | |
parent | fce2ba1910a6cac05d8af39fe6114998490ed28f (diff) | |
download | qtlocation-f9b9f578f6e7e1ba572a7f098d53d3a0b0fd4a97.tar.gz |
Fix MapPolygon being drawn misplaced and moving as it gets clipped
This patch fixes a regression introduced with commit
f0bc0db15ed262a8f31bb07b3b46a5cdf9277e79
Change-Id: Ie974b7a95d8ecd5f6affafc070848d289f7afa06
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem_p.h')
-rw-r--r-- | src/location/declarativemaps/qdeclarativepolygonmapitem_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem_p.h b/src/location/declarativemaps/qdeclarativepolygonmapitem_p.h index 1e2a91c9..febeb751 100644 --- a/src/location/declarativemaps/qdeclarativepolygonmapitem_p.h +++ b/src/location/declarativemaps/qdeclarativepolygonmapitem_p.h @@ -70,7 +70,7 @@ public: void updateSourcePoints(const QGeoMap &map, const QList<QDoubleVector2D> &path); - void updateScreenPoints(const QGeoMap &map); + void updateScreenPoints(const QGeoMap &map, qreal strokeWidth = 0.0); protected: QPainterPath srcPath_; |