summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotiledmapscene.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/maps/qgeotiledmapscene.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/maps/qgeotiledmapscene.cpp')
-rw-r--r--src/location/maps/qgeotiledmapscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeotiledmapscene.cpp b/src/location/maps/qgeotiledmapscene.cpp
index 18d92b00..f345e555 100644
--- a/src/location/maps/qgeotiledmapscene.cpp
+++ b/src/location/maps/qgeotiledmapscene.cpp
@@ -625,7 +625,7 @@ QSGNode *QGeoTiledMapScene::updateSceneGraph(QSGNode *oldNode, QQuickWindow *win
// Evicting loZL tiles temporarily used in place of hiZL ones
if (d->m_updatedTextures.size()) {
- const QVector<QGeoTileSpec> &toRemove = d->m_updatedTextures;
+ const QList<QGeoTileSpec> &toRemove = d->m_updatedTextures;
for (const QGeoTileSpec &s : toRemove) {
if (mapRoot->tiles->tiles.contains(s))
delete mapRoot->tiles->tiles.take(s);