mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +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);
|
paymentServer->setOptionsModel(optionsModel);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
emit splashFinished(window);
|
|
||||||
|
|
||||||
clientModel = new ClientModel(optionsModel);
|
clientModel = new ClientModel(optionsModel);
|
||||||
window->setClientModel(clientModel);
|
window->setClientModel(clientModel);
|
||||||
|
|
||||||
@ -424,6 +422,8 @@ void BitcoinApplication::initializeResult(int retval)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
emit splashFinished(window);
|
||||||
|
|
||||||
// If -min option passed, start window minimized.
|
// If -min option passed, start window minimized.
|
||||||
if(GetBoolArg("-min", false))
|
if(GetBoolArg("-min", false))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user