summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-02-19 12:51:18 +0100
committerLiang Qi <liang.qi@qt.io>2018-02-19 12:51:18 +0100
commit677833d418176e46babbd7720b1160ce789c7e2d (patch)
treecb04512f506755506f5900729c34f3c2e2143590 /src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
parent7d46b52172f2a53e99a8aad5e59dbe9fb4f8738c (diff)
parentb9d4da55cf0b775467df43c1d868dc4d58b96b45 (diff)
downloadqtlocation-677833d418176e46babbd7720b1160ce789c7e2d.tar.gz
Merge remote-tracking branch 'origin/5.10' into 5.11
Conflicts: src/location/declarativemaps/qdeclarativegeomap.cpp src/location/maps/qgeomap.cpp src/location/maps/qgeomap_p_p.h src/location/maps/qgeorouteparserosrmv5.cpp src/location/maps/qgeotiledmap.cpp src/positioning/positioning.pro Change-Id: I42f8b176a8f3e824c7fe5b067a958735173f0dbb
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
index aa3a3bd9..5eda137c 100644
--- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
@@ -304,7 +304,7 @@ void QGeoMapPolygonGeometry::updateScreenPoints(const QGeoMap &map)
screenIndices_.clear();
for (const auto &p : poly)
screenVertices_ << QPointF(p[0], p[1]);
- std::vector<N> indices = mapbox::earcut<N>(polygon);
+ std::vector<N> indices = qt_mapbox::earcut<N>(polygon);
for (const auto &i: indices)
screenIndices_ << quint32(i);
}