mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove MapLocationModel::count() and the attribute count
These were not used anywhere and the function was redundant [same result as rowCount()]. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b9c35e21ea
commit
406e83ac30
2 changed files with 0 additions and 10 deletions
|
|
@ -116,11 +116,6 @@ int MapLocationModel::rowCount(const QModelIndex&) const
|
|||
return m_mapLocations.size();
|
||||
}
|
||||
|
||||
int MapLocationModel::count()
|
||||
{
|
||||
return m_mapLocations.size();
|
||||
}
|
||||
|
||||
void MapLocationModel::add(MapLocation *location)
|
||||
{
|
||||
beginInsertRows(QModelIndex(), m_mapLocations.size(), m_mapLocations.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue