summaryrefslogtreecommitdiffstats
path: root/src/location/labs/qmapobjectview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/labs/qmapobjectview.cpp')
-rw-r--r--src/location/labs/qmapobjectview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/labs/qmapobjectview.cpp b/src/location/labs/qmapobjectview.cpp
index 54d384fb..e0a6a294 100644
--- a/src/location/labs/qmapobjectview.cpp
+++ b/src/location/labs/qmapobjectview.cpp
@@ -322,7 +322,7 @@ void QMapObjectView::modelUpdated(const QQmlChangeSet &changeSet, bool reset)
flushDelegateModel();
} else {
// Remove map objects 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));