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:
commit
760a6c7cb2
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue