diff options
Diffstat (limited to 'qt-models/maplocationmodel.cpp')
-rw-r--r-- | qt-models/maplocationmodel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/maplocationmodel.cpp b/qt-models/maplocationmodel.cpp index a4afe76e2..45759a57f 100644 --- a/qt-models/maplocationmodel.cpp +++ b/qt-models/maplocationmodel.cpp @@ -77,9 +77,8 @@ QHash<int, QByteArray> MapLocationModel::roleNames() const return m_roles; } -int MapLocationModel::rowCount(const QModelIndex &parent) const +int MapLocationModel::rowCount(const QModelIndex&) const { - Q_UNUSED(parent); return m_mapLocations.size(); } |