Add const

This commit is contained in:
Jonas Kvinge
2020-09-10 22:05:12 +02:00
parent 2a048502cc
commit e3587d369e
6 changed files with 41 additions and 41 deletions

View File

@@ -132,7 +132,7 @@ QList<Playlist*> PlaylistManager::GetAllPlaylists() const {
}
QItemSelection PlaylistManager::selection(int id) const {
QItemSelection PlaylistManager::selection(const int id) const {
QMap<int, Data>::const_iterator it = playlists_.find(id);
return it->selection;
}