[Qt] fix a bug where the SplashScreen will not be hidden during startup

pull/8231/head
Jonas Schnelli 9 years ago
parent 2759597bc8
commit b3e1348c46
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC

@ -141,6 +141,11 @@ SplashScreen::~SplashScreen()
void SplashScreen::slotFinish(QWidget *mainWin) void SplashScreen::slotFinish(QWidget *mainWin)
{ {
Q_UNUSED(mainWin); Q_UNUSED(mainWin);
/* If the window is minimized, hide() will be ignored. */
/* Make sure we de-minimize the splashscreen window before hiding */
if (isMinimized())
showNormal();
hide(); hide();
} }

Loading…
Cancel
Save