From cde2e4e571b4bc8104f5c9be8cae3d26a41cbf0d Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 24 Nov 2020 13:36:10 +0000 Subject: [PATCH] qtquick: Fix tst_constraintsAfterPlaceholder The resize happens sync for QtQuick, so that wait isn't needed --- tests/tst_docks.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tst_docks.cpp b/tests/tst_docks.cpp index f36d611d..acae1724 100644 --- a/tests/tst_docks.cpp +++ b/tests/tst_docks.cpp @@ -6155,7 +6155,9 @@ void TestDocks::tst_constraintsAfterPlaceholder() m->addDockWidget(dock2, Location_OnTop); m->addDockWidget(dock3, Location_OnTop); +#ifdef KDDOCKWIDGETS_QTWIDGETS QVERIFY(Testing::waitForResize(m.get())); +#endif QVERIFY(widgetMinLength(m.get(), Qt::Vertical) > minHeight * 3); // > since some vertical space is occupied by the separators