PlaylistTest: Replace forever with Q_FOREVER

This commit is contained in:
Jonas Kvinge 2024-08-25 16:58:56 +02:00
parent 7dd959f4a1
commit 19c8da06e6
1 changed files with 1 additions and 1 deletions

View File

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