aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2019-01-16 13:48:47 +0200
committerLiang Qi <liang.qi@qt.io>2019-01-16 13:19:07 +0000
commitc16fd7561f2b42c0a572f360e8c72a384779fd3a (patch)
treeccd1957dc11094d8096f02fb1e192cc4e298c34b
parent1c95cc756a804651818cfe202cc64339a773f51d (diff)
Fix tst_layoutfilesystem::layouts
Fix is needed after change 68511d41d50b1a136fb0e74fdabfd362e0b21a1a in qtbase Task-number: QTBUG-73065 Change-Id: I88374d953e7e99e9ed653630380404b5ce9953bb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp b/tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp
index 2c3e690e..1d906712 100644
--- a/tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp
+++ b/tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp
@@ -53,6 +53,7 @@ void tst_layoutfilesystem::layouts()
layoutTestHelper.window->show();
QVERIFY(QTest::qWaitForWindowExposed(layoutTestHelper.window.data()));
+ QCoreApplication::processEvents(); // Process all queued events
QObject *layout = layoutTestHelper.window->findChild<QObject*>("en_GB");
QVERIFY(layout);