From b2f30e7d7d4c7ee734fd52974aa1f6a1d6d3efe3 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 3 Sep 2020 11:23:06 +0200 Subject: [PATCH] testScreenEdges: no need to wait twice for Screens::changed Now ::init does it and we don't need to account for it from test cases --- autotests/test_screen_edges.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/autotests/test_screen_edges.cpp b/autotests/test_screen_edges.cpp index 28ec472832..ac088e12e4 100644 --- a/autotests/test_screen_edges.cpp +++ b/autotests/test_screen_edges.cpp @@ -318,9 +318,6 @@ void TestScreenEdges::testCreatingInitialEdges() static_cast(screens())->setGeometries(QList{QRect{0, 0, 1024, 768}}); QSignalSpy changedSpy(screens(), &Screens::changed); QVERIFY(changedSpy.isValid()); - // first is before it's updated - QVERIFY(changedSpy.wait()); - // second is after it's updated QVERIFY(changedSpy.wait()); // let's update the layout and verify that we have edges