From ffee803f1099f85082a152791a7a3b261947a751 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 24 Jun 2020 11:57:21 +0200 Subject: Use QList instead of QVector Task-number: QTBUG-84469 Change-Id: Iefd2fb627602ef4744d80858eee72a089ef5f4ec Reviewed-by: Lars Knoll --- src/location/declarativemaps/qdeclarativegeomapitemview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/location/declarativemaps/qdeclarativegeomapitemview.cpp') 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 &removes = changeSet.removes(); + const QList &removes = changeSet.removes(); std::map mapRemoves; for (int i = 0; i < removes.size(); i++) mapRemoves.insert(std::pair(removes.at(i).start(), i)); -- cgit v1.2.1