Skip to content

Commit 0de61e7

Browse files
committed
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.
1 parent fb21bf6 commit 0de61e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/bitcoin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,6 @@ void BitcoinApplication::initializeResult(int retval)
406406
paymentServer->setOptionsModel(optionsModel);
407407
#endif
408408

409-
emit splashFinished(window);
410-
411409
clientModel = new ClientModel(optionsModel);
412410
window->setClientModel(clientModel);
413411

@@ -424,6 +422,8 @@ void BitcoinApplication::initializeResult(int retval)
424422
}
425423
#endif
426424

425+
emit splashFinished(window);
426+
427427
// If -min option passed, start window minimized.
428428
if(GetBoolArg("-min", false))
429429
{

0 commit comments

Comments
 (0)