diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-07 11:30:17 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-11 10:20:28 +0100 |
commit | 202d853bbea8ecb2164b9c9dc69e2129b45f05f8 (patch) | |
tree | 86b48c4d03a96ca3698962ac9baac5c2ab085483 /src/qt/splashscreen.cpp | |
parent | 6a0e2376a14c77585888373099109d51a08bd74f (diff) |
qt: Move initialization/shutdown to a thread
Move AppInit2 and Shutdown to a thread.
This allows a more responsive splash screen, prevents 'process does not respond'
messages from the window system and will allow for showing a user friendly
window while shutting down.
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r-- | src/qt/splashscreen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 6fb834c045..0e998c6d7e 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -13,6 +13,8 @@ SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f, bool isTestNet) : QSplashScreen(pixmap, f) { + setAutoFillBackground(true); + // set reference point, paddings int paddingRight = 50; int paddingTop = 50; |