diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h index 0625af0213..2a719e96f1 100644 --- a/src/testlib/qtestsystem.h +++ b/src/testlib/qtestsystem.h @@ -70,7 +70,7 @@ namespace QTest } #ifdef QT_GUI_LIB - inline static bool qWaitForWindowActive(QWindow *window, int timeout = 1000) + inline static bool qWaitForWindowActive(QWindow *window, int timeout = 5000) { QElapsedTimer timer; timer.start(); @@ -99,7 +99,7 @@ namespace QTest return window->isActive(); } - inline static bool qWaitForWindowExposed(QWindow *window, int timeout = 1000) + inline static bool qWaitForWindowExposed(QWindow *window, int timeout = 5000) { QElapsedTimer timer; timer.start();