From b63095623eb08a77586d3aef52760179d3627b51 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Tue, 21 Jun 2016 10:54:57 +0200 Subject: [PATCH] [Qt] fix a bug where the SplashScreen will not be hidden during startup --- src/qt/splashscreen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index c6ec3aedf..0dd345b95 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -133,6 +133,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(); deleteLater(); // No more need for this }