diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-20 13:49:58 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-20 13:50:42 +0200 |
commit | 0de61e7585e14cb552e985934fc5ddfeb6e8bd67 (patch) | |
tree | 759a04d5844ddf15bcd70a4660741ca1e638bc39 /src | |
parent | fb21bf695199f523ea1843877a3684dc23325d6b (diff) |
qt: Move SplashFinished to after ClientModel/WalletModel creation
With a large wallet there was a noticable gap between hiding of the
splash and showing the main window.
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index afd591efb2..7bf531f538 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -406,8 +406,6 @@ void BitcoinApplication::initializeResult(int retval) paymentServer->setOptionsModel(optionsModel); #endif - emit splashFinished(window); - clientModel = new ClientModel(optionsModel); window->setClientModel(clientModel); @@ -424,6 +422,8 @@ void BitcoinApplication::initializeResult(int retval) } #endif + emit splashFinished(window); + // If -min option passed, start window minimized. if(GetBoolArg("-min", false)) { |