summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qsplashscreen.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-02-21 14:35:03 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-03-03 14:12:38 (GMT)
commit61dfa74bb542f495eb5ff25e3f91b9065eb1cfdd (patch)
tree58932daec7f30b14f8a5a23e52d25e37008e7f29 /src/gui/widgets/qsplashscreen.cpp
parent2b9660c4cb264dc7b8abe4c753e31c48a50b92af (diff)
downloadQt-61dfa74bb542f495eb5ff25e3f91b9065eb1cfdd.zip
Qt-61dfa74bb542f495eb5ff25e3f91b9065eb1cfdd.tar.gz
Qt-61dfa74bb542f495eb5ff25e3f91b9065eb1cfdd.tar.bz2
Do not handle posted events in QSplashScreen.
When QSplashScreen waits for the window to be fully shown, we shouldn't re-enter the event loop by processing posted events. Reviewed-by: axis Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/gui/widgets/qsplashscreen.cpp')
-rw-r--r--src/gui/widgets/qsplashscreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qsplashscreen.cpp b/src/gui/widgets/qsplashscreen.cpp
index 75280cb..9c486bf 100644
--- a/src/gui/widgets/qsplashscreen.cpp
+++ b/src/gui/widgets/qsplashscreen.cpp
@@ -223,8 +223,8 @@ void QSplashScreen::finish(QWidget *mainWin)
{
if (mainWin) {
#if defined(Q_WS_X11)
- extern void qt_x11_wait_for_window_manager(QWidget *mainWin);
- qt_x11_wait_for_window_manager(mainWin);
+ extern void qt_x11_wait_for_window_manager(QWidget *mainWin, bool);
+ qt_x11_wait_for_window_manager(mainWin, false);
#endif
}
close();