diff options
| author | Jonas Schnelli <[email protected]> | 2016-06-21 10:54:57 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-06-21 11:35:29 +0200 |
| commit | b3e1348c46573630e5899b53f77236fd51f78d13 (patch) | |
| tree | a93f761f46b340daf09448072d7ce8562025e20c /src/qt/splashscreen.cpp | |
| parent | Only pass -lQt5PlatformSupport if >=Qt5.6 (diff) | |
| download | discoin-b3e1348c46573630e5899b53f77236fd51f78d13.tar.xz discoin-b3e1348c46573630e5899b53f77236fd51f78d13.zip | |
[Qt] fix a bug where the SplashScreen will not be hidden during startup
Diffstat (limited to 'src/qt/splashscreen.cpp')
| -rw-r--r-- | src/qt/splashscreen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index b46321fa8..e36d86fdd 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -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(); } |