Replace use of QSet::toList() with QSet::values()

This commit is contained in:
Jonas Kvinge
2019-12-21 18:19:09 +01:00
parent 6c6bceb8cc
commit 6df38c389c
3 changed files with 3 additions and 3 deletions

View File

@@ -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;