Skip to content

Commit 760a6c7

Browse files
committed
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)
2 parents 961893f + b3e1348 commit 760a6c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/qt/splashscreen.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ SplashScreen::~SplashScreen()
141141
void SplashScreen::slotFinish(QWidget *mainWin)
142142
{
143143
Q_UNUSED(mainWin);
144+
145+
/* If the window is minimized, hide() will be ignored. */
146+
/* Make sure we de-minimize the splashscreen window before hiding */
147+
if (isMinimized())
148+
showNormal();
144149
hide();
145150
}
146151

0 commit comments

Comments
 (0)