Replace use of QSet::toList() with QSet::values()
This commit is contained in:
@@ -558,7 +558,7 @@ QString PlaylistManager::GetNameForNewPlaylist(const SongList &songs) {
|
||||
}
|
||||
|
||||
if (!various_artists && albums.size() == 1) {
|
||||
result += " - " + albums.toList().first();
|
||||
result += " - " + albums.values().first();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user