qtquick: Fix tst_constraintsAfterPlaceholder

The resize happens sync for QtQuick, so that wait isn't needed
This commit is contained in:
Sergio Martins
2020-11-24 13:36:10 +00:00
parent e0775467b2
commit cde2e4e571

View File

@@ -6155,7 +6155,9 @@ void TestDocks::tst_constraintsAfterPlaceholder()
m->addDockWidget(dock2, Location_OnTop); m->addDockWidget(dock2, Location_OnTop);
m->addDockWidget(dock3, Location_OnTop); m->addDockWidget(dock3, Location_OnTop);
#ifdef KDDOCKWIDGETS_QTWIDGETS
QVERIFY(Testing::waitForResize(m.get())); QVERIFY(Testing::waitForResize(m.get()));
#endif
QVERIFY(widgetMinLength(m.get(), Qt::Vertical) > minHeight * 3); // > since some vertical space is occupied by the separators QVERIFY(widgetMinLength(m.get(), Qt::Vertical) > minHeight * 3); // > since some vertical space is occupied by the separators