|
|
|
@ -159,7 +159,7 @@ int main(int argc, char *argv[])
@@ -159,7 +159,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
// Put this in a block, so that BitcoinGUI is cleaned up properly before
|
|
|
|
|
// calling Shutdown().
|
|
|
|
|
// calling Shutdown() in case of exceptions.
|
|
|
|
|
BitcoinGUI window; |
|
|
|
|
splash.finish(&window); |
|
|
|
|
OptionsModel optionsModel(pwalletMain); |
|
|
|
@ -170,7 +170,15 @@ int main(int argc, char *argv[])
@@ -170,7 +170,15 @@ int main(int argc, char *argv[])
|
|
|
|
|
window.setClientModel(&clientModel); |
|
|
|
|
window.setWalletModel(&walletModel); |
|
|
|
|
|
|
|
|
|
window.show(); |
|
|
|
|
// If -min option passed, start window minimized.
|
|
|
|
|
if(GetBoolArg("-min")) |
|
|
|
|
{ |
|
|
|
|
window.showMinimized(); |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
window.show(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
app.exec(); |
|
|
|
|
|
|
|
|
|