diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 14:35:12 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-30 14:37:25 (GMT) |
commit | 76b8df83645c66c15d58bf12d7ffa3ea944ecb07 (patch) | |
tree | 8f22441959030fad8d1bb13dbc7a3b0bad476f6c /src/testlib | |
parent | 28c61efdd823cb5fa93f4ab2ef3109bb01c56ed5 (diff) | |
download | Qt-76b8df83645c66c15d58bf12d7ffa3ea944ecb07.zip Qt-76b8df83645c66c15d58bf12d7ffa3ea944ecb07.tar.gz Qt-76b8df83645c66c15d58bf12d7ffa3ea944ecb07.tar.bz2 |
Make sure to process the events in QTest::qWaitForWindowShown on X11
qt_x11_wait_for_window_manager doesn't necesserly process the events
Reviewed-by: Denis
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestsystem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qtestsystem.h b/src/testlib/qtestsystem.h index a9a2193..e8b8359 100644 --- a/src/testlib/qtestsystem.h +++ b/src/testlib/qtestsystem.h @@ -75,6 +75,7 @@ namespace QTest { #if defined(Q_WS_X11) qt_x11_wait_for_window_manager(window); + QApplication::processEvents(); #elif defined(Q_WS_QWS) Q_UNUSED(window); qWait(100); |