aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2016-05-12 09:51:43 +0200
committerJonas Schnelli <[email protected]>2016-05-12 11:42:31 +0200
commit34ebceb25a40a2160349656265951cbe9a5b0f34 (patch)
tree9afc9717cc8bfd28cc5067b9b6fe83247023c065
parentMerge #8039: bench: Add crypto hash benchmarks (diff)
downloaddiscoin-34ebceb25a40a2160349656265951cbe9a5b0f34.tar.xz
discoin-34ebceb25a40a2160349656265951cbe9a5b0f34.zip
[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
-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 9c21bb24c..6218ab6ab 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -370,6 +370,7 @@ void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
splash->setAttribute(Qt::WA_DeleteOnClose);
splash->show();
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
+ connect(this, SIGNAL(requestedShutdown()), splash, SLOT(close()));
}
void BitcoinApplication::startThread()