diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h index e17c0ede8..ba93da8f9 100644 --- a/qt-models/maplocationmodel.h +++ b/qt-models/maplocationmodel.h @@ -53,13 +53,12 @@ public: void addList(QVector); void clear(); MapLocation *getMapLocationForUuid(quint32 uuid); + Q_INVOKABLE void setSelectedUuid(QVariant uuid, QVariant fromClick = true); protected: QHash roleNames() const; -public: - Q_INVOKABLE void setSelectedUuid(QVariant uuid, QVariant fromClick = true); - +private: QVector m_mapLocations; QHash m_roles; quint32 m_selectedUuid;