summaryrefslogtreecommitdiffstats
path: root/qt-models/maplocationmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-31 23:37:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-06 11:48:47 -0700
commitb9c35e21eafc347eba073ba8deb91b7052dbfbae (patch)
treea421289f7ac18e2e5a96cab5644f72054306d8ed /qt-models/maplocationmodel.cpp
parent8e2d3254a2c3ff129af6047ada659de1976b387e (diff)
downloadsubsurface-b9c35e21eafc347eba073ba8deb91b7052dbfbae.tar.gz
Cleanup: remove MapLocationModel::get() function
It was not called anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/maplocationmodel.cpp')
-rw-r--r--qt-models/maplocationmodel.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-models/maplocationmodel.cpp b/qt-models/maplocationmodel.cpp
index d1e9c12aa..e5d7fa2d5 100644
--- a/qt-models/maplocationmodel.cpp
+++ b/qt-models/maplocationmodel.cpp
@@ -121,13 +121,6 @@ int MapLocationModel::count()
return m_mapLocations.size();
}
-MapLocation *MapLocationModel::get(int row)
-{
- if (row < 0 || row >= m_mapLocations.size())
- return NULL;
- return m_mapLocations.at(row);
-}
-
void MapLocationModel::add(MapLocation *location)
{
beginInsertRows(QModelIndex(), m_mapLocations.size(), m_mapLocations.size());