Skip to content

Commit

Permalink
[Qt] fix a bug where the SplashScreen will not be hidden during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed Jun 21, 2016
1 parent 2759597 commit b3e1348
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qt/splashscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit b3e1348

Please sign in to comment.