[Qt] fix a bug where the SplashScreen will not be hidden during startup
This commit is contained in:
parent
2759597bc8
commit
b3e1348c46
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