[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: qt-copy/src/widgets
From: Tobias Koenig <tokoe () kde ! org>
Date: 2003-05-27 15:47:18
[Download RAW message or body]
CVS commit by tokoe:
Patch from TrollTech, that prevents crashes if QSplashScreen::finished( QWidget *wdg \
) get a null pointer as argument.
M +4 -4 qsplashscreen.cpp 1.2
--- qt-copy/src/widgets/qsplashscreen.cpp #1.1:1.2
@@ -207,10 +207,10 @@ void QSplashScreen::clear()
void QSplashScreen::finish( QWidget *mainWin )
{
+ if ( mainWin ) {
#if defined(Q_WS_X11)
extern void qt_wait_for_window_manager( QWidget *mainWin );
qt_wait_for_window_manager( mainWin );
-#else
- Q_UNUSED( mainWin );
#endif
+ }
close();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic