diff options
Diffstat (limited to 'qt-models/maplocationmodel.h')
-rw-r--r-- | qt-models/maplocationmodel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index c73fa246e..547641fe7 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -3,7 +3,7 @@ #define MAPLOCATIONMODEL_H #include <QObject> -#include <QList> +#include <QVector> #include <QHash> #include <QByteArray> #include <QAbstractListModel> @@ -43,14 +43,14 @@ public: int rowCount(const QModelIndex &parent) const override; int count(); void add(MapLocation *); - void addList(QList<MapLocation *>); + void addList(QVector<MapLocation *>); void clear(); protected: QHash<int, QByteArray> roleNames() const; private: - QList<MapLocation *> m_mapLocations; + QVector<MapLocation *> m_mapLocations; QHash<int, QByteArray> m_roles; signals: |