summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-24 11:57:21 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-25 10:11:24 +0200
commitffee803f1099f85082a152791a7a3b261947a751 (patch)
tree307766f137312bad751a9c35bd3281d1772568ac /src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
parent3794e0c252a8e7a0288d3fb74dde6f5fdc09950d (diff)
downloadqtlocation-ffee803f1099f85082a152791a7a3b261947a751.tar.gz
Use QList instead of QVector
Task-number: QTBUG-84469 Change-Id: Iefd2fb627602ef4744d80858eee72a089ef5f4ec Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
index fa6ee174..24086993 100644
--- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
@@ -398,8 +398,8 @@ static void wrapPath(const QGeoPolygon &poly
}
static void cutPathEars(const QList<QList<QDoubleVector2D>> &wrappedPaths,
- QVector<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
- QVector<quint32> &screenIndices)
+ QList<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
+ QList<quint32> &screenIndices)
{
using Coord = double;
using N = uint32_t;
@@ -427,8 +427,8 @@ static void cutPathEars(const QList<QList<QDoubleVector2D>> &wrappedPaths,
}
static void cutPathEars(const QList<QDoubleVector2D> &wrappedPath,
- QVector<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
- QVector<quint32> &screenIndices)
+ QList<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
+ QList<quint32> &screenIndices)
{
using Coord = double;
using N = uint32_t;