PlaylistTest: Replace forever with Q_FOREVER
This commit is contained in:
parent
7dd959f4a1
commit
19c8da06e6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue