Merge #8231: [Qt] fix a bug where the SplashScreen will not be hidden during startup

b3e1348 [Qt] fix a bug where the SplashScreen will not be hidden during startup (Jonas Schnelli)
This commit is contained in:
Wladimir J. van der Laan 2016-06-22 08:49:31 +02:00
commit 760a6c7cb2
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,11 @@ SplashScreen::~SplashScreen()
void SplashScreen::slotFinish(QWidget *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();
}