diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-20 13:49:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-20 13:50:42 +0200 |
| commit | 0de61e7585e14cb552e985934fc5ddfeb6e8bd67 (patch) | |
| tree | 759a04d5844ddf15bcd70a4660741ca1e638bc39 /src/qt/bitcoin.cpp | |
| parent | Merge pull request #4563 (diff) | |
| download | discoin-0de61e7585e14cb552e985934fc5ddfeb6e8bd67.tar.xz discoin-0de61e7585e14cb552e985934fc5ddfeb6e8bd67.zip | |
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/qt/bitcoin.cpp')
| -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 afd591efb..7bf531f53 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)) { |