aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);