mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
[Qt] fix a bug where the SplashScreen will not be hidden during startup
This commit is contained in:
parent
2759597bc8
commit
b3e1348c46
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user