Replace use of QSet::toList() with QSet::values()
This commit is contained in:
@@ -1716,7 +1716,7 @@ void Playlist::ReshuffleIndices() {
|
||||
}
|
||||
|
||||
// Shuffle them
|
||||
QStringList shuffled_album_keys = album_key_set.toList();
|
||||
QStringList shuffled_album_keys = album_key_set.values();
|
||||
std::random_shuffle(shuffled_album_keys.begin(), shuffled_album_keys.end());
|
||||
|
||||
// If the user is currently playing a song, force its album to be first
|
||||
|
||||
Reference in New Issue
Block a user