|
|
|
@ -183,9 +183,12 @@ int main(int argc, char *argv[])
@@ -183,9 +183,12 @@ int main(int argc, char *argv[])
|
|
|
|
|
app.setApplicationName(QApplication::translate("main", "Bitcoin-Qt")); |
|
|
|
|
|
|
|
|
|
QSplashScreen splash(QPixmap(":/images/splash"), 0); |
|
|
|
|
if (GetBoolArg("-splash", true) && !GetBoolArg("-min")) |
|
|
|
|
{ |
|
|
|
|
splash.show(); |
|
|
|
|
splash.setAutoFillBackground(true); |
|
|
|
|
splashref = &splash; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
app.processEvents(); |
|
|
|
|
|
|
|
|
@ -199,6 +202,7 @@ int main(int argc, char *argv[])
@@ -199,6 +202,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
// Put this in a block, so that BitcoinGUI is cleaned up properly before
|
|
|
|
|
// calling Shutdown() in case of exceptions.
|
|
|
|
|
BitcoinGUI window; |
|
|
|
|
if (splashref) |
|
|
|
|
splash.finish(&window); |
|
|
|
|
OptionsModel optionsModel(pwalletMain); |
|
|
|
|
ClientModel clientModel(&optionsModel); |
|
|
|
|