Browse Source

[Qt] fix a bug where the SplashScreen will not be hidden during startup

0.13
Jonas Schnelli 9 years ago
parent
commit
b3e1348c46
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 5
      src/qt/splashscreen.cpp

5
src/qt/splashscreen.cpp

@ -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…
Cancel
Save