mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
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
@ -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 New Issue
Block a user