From 19c8da06e641d80154c2d6df1baf95efb8a57350 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 25 Aug 2024 16:58:56 +0200 Subject: [PATCH] PlaylistTest: Replace forever with Q_FOREVER --- tests/src/playlist_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;