diff options
author | Jerome Pasion <jerome.pasion@nokia.com> | 2010-09-24 15:00:56 (GMT) |
---|---|---|
committer | Jerome Pasion <jerome.pasion@nokia.com> | 2010-09-24 15:00:56 (GMT) |
commit | d8c1fd7fb34df0be32ab3b1edc7bac1e944b9c00 (patch) | |
tree | a70429e8c97002f14b847743374c1e82a1d15f8f | |
parent | 4c0016bd7f177603bab05c2a71cd45e839c11173 (diff) | |
parent | b21b3042c99cc400b523615f8331695f3a88da4b (diff) | |
download | Qt-d8c1fd7fb34df0be32ab3b1edc7bac1e944b9c00.zip Qt-d8c1fd7fb34df0be32ab3b1edc7bac1e944b9c00.tar.gz Qt-d8c1fd7fb34df0be32ab3b1edc7bac1e944b9c00.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/qsplashscreen.cpp | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index 43d5772..e6dc623 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -711,6 +711,12 @@ void QApplicationPrivate::process_cmdline() done. \endlist + \section1 X11 Notes + + If QApplication fails to open the X11 display, it will terminate + the process. This behavior is consistent with most X11 + applications. + \sa arguments() */ diff --git a/src/gui/widgets/qsplashscreen.cpp b/src/gui/widgets/qsplashscreen.cpp index 8be0cf8..d1fb686 100644 --- a/src/gui/widgets/qsplashscreen.cpp +++ b/src/gui/widgets/qsplashscreen.cpp @@ -186,6 +186,13 @@ void QSplashScreen::repaint() Draws the \a message text onto the splash screen with color \a color and aligns the text according to the flags in \a alignment. + To make sure the splash screen is repainted immediately, you can + call \l{QCoreApplication}'s + \l{QCoreApplication::}{processEvents()} after the call to + showMessage(). You usually want this to make sure that the message + is kept up to date with what your application is doing (e.g., + loading files). + \sa Qt::Alignment, clearMessage() */ void QSplashScreen::showMessage(const QString &message, int alignment, |