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.
This commit is contained in:
parent
fb21bf6951
commit
0de61e7585
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue