mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
maplocationmodel: use QVector for the MapLocation storage
QVector is faster, use it for "m_mapLocations" instead of QList. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
ffcfde3b62
commit
de90480b46
3 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ void MapLocationModel::add(MapLocation *location)
|
|||
endInsertRows();
|
||||
}
|
||||
|
||||
void MapLocationModel::addList(QList<MapLocation *> list)
|
||||
void MapLocationModel::addList(QVector<MapLocation *> list)
|
||||
{
|
||||
if (!list.size())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue