diff --git a/tests/src/playlist_test.cpp b/tests/src/playlist_test.cpp index e40ee51bb..b0e81e9af 100644 --- a/tests/src/playlist_test.cpp +++ b/tests/src/playlist_test.cpp @@ -446,7 +446,7 @@ TEST_F(PlaylistTest, ShuffleThenNext) { playlist_.set_current_row(0); // Shuffle until the current index is not at the end - forever { + Q_FOREVER { playlist_.Shuffle(); if (playlist_.current_row() != items.count()-1) break;