aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-05-12 09:51:43 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-05-12 11:42:31 +0200
commit34ebceb25a40a2160349656265951cbe9a5b0f34 (patch)
tree9afc9717cc8bfd28cc5067b9b6fe83247023c065 /src
parent69b3a6dd9d9a0adf5506c8b9fde42187356bd4a8 (diff)
[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
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 9c21bb24ce..6218ab6ab0 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()