From e79eac333591332d0bfe8ebdeb76a791cf826861 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Mon, 24 Jul 2017 21:17:11 +0300 Subject: [PATCH] maplocationmodel: fix some public / private declarations Make the m_* variables private. Signed-off-by: Lubomir I. Ivanov --- qt-models/maplocationmodel.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;