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/qdeclarativegeomapitemview.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/qdeclarativegeomapitemview.cpp')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomapitemview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp index 43e24620..f9e7a938 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp @@ -185,7 +185,7 @@ void QDeclarativeGeoMapItemView::modelUpdated(const QQmlChangeSet &changeSet, bo removeInstantiatedItems(); } else { // Remove items from the back to the front to retain the mapping to what is received from the changesets - const QVector<QQmlChangeSet::Change> &removes = changeSet.removes(); + const QList<QQmlChangeSet::Change> &removes = changeSet.removes(); std::map<int, int> mapRemoves; for (int i = 0; i < removes.size(); i++) mapRemoves.insert(std::pair<int, int>(removes.at(i).start(), i)); |