Add const
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user