From c16fd7561f2b42c0a572f360e8c72a384779fd3a Mon Sep 17 00:00:00 2001 From: Sami Nurmenniemi Date: Wed, 16 Jan 2019 13:48:47 +0200 Subject: Fix tst_layoutfilesystem::layouts Fix is needed after change 68511d41d50b1a136fb0e74fdabfd362e0b21a1a in qtbase Task-number: QTBUG-73065 Change-Id: I88374d953e7e99e9ed653630380404b5ce9953bb Reviewed-by: Mitch Curtis --- tests/auto/layoutfilesystem/tst_layoutfilesystem.cpp | 1 + 1 file changed, 1 insertion(+) 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("en_GB"); QVERIFY(layout); -- cgit v1.2.3