Revert "Use guaranteed random number generator." Fixes #4400

This reverts commit 9f6899ac82.
This commit is contained in:
David Sansome 2014-06-07 12:12:08 +10:00
parent e695aaee44
commit 53be1e1f65
1 changed files with 2 additions and 5 deletions

View File

@ -1914,11 +1914,8 @@ void Playlist::ReshuffleIndices() {
// Shuffle them
QStringList shuffled_album_keys = album_key_set.toList();
std::random_shuffle(
shuffled_album_keys.begin(),
shuffled_album_keys.end(),
// http://xkcd.com/221/
[](int x) { return 4; });
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.
if (current_virtual_index_ != -1) {