aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/layoutresources/tst_layoutresources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/layoutresources/tst_layoutresources.cpp')
-rw-r--r--tests/auto/layoutresources/tst_layoutresources.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/layoutresources/tst_layoutresources.cpp b/tests/auto/layoutresources/tst_layoutresources.cpp
index 0494b6ae..e9509ed2 100644
--- a/tests/auto/layoutresources/tst_layoutresources.cpp
+++ b/tests/auto/layoutresources/tst_layoutresources.cpp
@@ -53,6 +53,7 @@ void tst_layoutresources::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);