diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2010-09-24 07:33:53 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2010-09-24 07:33:53 (GMT) |
commit | 4286d8d20eae7b0876acc5afcecebc03cfc2514a (patch) | |
tree | 4e0177be75e9e3cc5676a8d1b2388fb3605e46d7 /src | |
parent | 181f6a4b76a278ded6e402aada657cfda2d3f638 (diff) | |
download | Qt-4286d8d20eae7b0876acc5afcecebc03cfc2514a.zip Qt-4286d8d20eae7b0876acc5afcecebc03cfc2514a.tar.gz Qt-4286d8d20eae7b0876acc5afcecebc03cfc2514a.tar.bz2 |
Doc: call qApp->precessEvents after QSplashScreen::showMessage
Task-number: QTBUG-13734
Reviewed-by: Jerome Pasion
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/qsplashscreen.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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, |