mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove MapLocationModel::get() function
It was not called anymore. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8e2d3254a2
commit
b9c35e21ea
2 changed files with 0 additions and 8 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue