summaryrefslogtreecommitdiff
path: root/src/location/labs/qmapobjectview_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/labs/qmapobjectview_p.h')
-rw-r--r--src/location/labs/qmapobjectview_p.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/location/labs/qmapobjectview_p.h b/src/location/labs/qmapobjectview_p.h
index be5801d3..46b5a378 100644
--- a/src/location/labs/qmapobjectview_p.h
+++ b/src/location/labs/qmapobjectview_p.h
@@ -51,7 +51,7 @@
#include <QtLocation/private/qlocationglobal_p.h>
#include <QtLocation/private/qgeomapobject_p.h>
#include <QQmlComponent>
-#include <QVector>
+#include <QList>
QT_BEGIN_NAMESPACE
@@ -104,9 +104,11 @@ protected:
void flushUserAddedMapObjects();
QQmlDelegateModel *m_delegateModel = nullptr;
- QVector<QPointer<QGeoMapObject>> m_instantiatedMapObjects;
- QVector<QPointer<QGeoMapObject>> m_pendingMapObjects; // for items instantiated before the map is set
- QVector<QPointer<QGeoMapObject>> m_userAddedMapObjects; // A third list containing the objects dynamically added through addMapObject
+ QList<QPointer<QGeoMapObject>> m_instantiatedMapObjects;
+ QList<QPointer<QGeoMapObject>>
+ m_pendingMapObjects; // for items instantiated before the map is set
+ QList<QPointer<QGeoMapObject>> m_userAddedMapObjects; // A third list containing the objects
+ // dynamically added through addMapObject
bool m_creatingObject = false;
};