aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-05-06 08:14:19 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-05-06 08:28:20 +0200
commit46f552a9fe453149b7592048f9c7807bb211f273 (patch)
tree5eec57aa1db366c846b58e9f99adc09c38558031 /src
parent6ad47ddf40d8067f996a5fd72bb6662ad1463091 (diff)
Hide UI immediately after leaving the main loop.
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index e752269ca1..4a77bf9b70 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -282,6 +282,7 @@ int main(int argc, char *argv[])
#endif
app.exec();
+ window.hide();
window.setClientModel(0);
window.setWalletModel(0);
guiref = 0;