diff options
Diffstat (limited to 'qt-models/maplocationmodel.cpp')
-rw-r--r-- | qt-models/maplocationmodel.cpp | 7 |
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()); |