diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-24 11:57:21 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2020-06-25 10:11:24 +0200 |
commit | ffee803f1099f85082a152791a7a3b261947a751 (patch) | |
tree | 307766f137312bad751a9c35bd3281d1772568ac /src/location/declarativemaps/qgeomapitemgeometry.cpp | |
parent | 3794e0c252a8e7a0288d3fb74dde6f5fdc09950d (diff) | |
download | qtlocation-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/qgeomapitemgeometry.cpp')
-rw-r--r-- | src/location/declarativemaps/qgeomapitemgeometry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/declarativemaps/qgeomapitemgeometry.cpp b/src/location/declarativemaps/qgeomapitemgeometry.cpp index 28e9fa67..f7feec5c 100644 --- a/src/location/declarativemaps/qgeomapitemgeometry.cpp +++ b/src/location/declarativemaps/qgeomapitemgeometry.cpp @@ -71,8 +71,8 @@ void QGeoMapItemGeometry::translate(const QPointF &offset) */ void QGeoMapItemGeometry::allocateAndFill(QSGGeometry *geom) const { - const QVector<QPointF> &vx = screenVertices_; - const QVector<quint32> &ix = screenIndices_; + const QList<QPointF> &vx = screenVertices_; + const QList<quint32> &ix = screenIndices_; if (isIndexed()) { geom->allocate(vx.size(), ix.size()); |