aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-05-12 13:15:33 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-05-12 13:15:39 +0200
commit169d379c98357a17e634f34b5e72033c69f9a7cb (patch)
tree173fde5654575929c9f604d21131ad4f281d5c97 /src/qt
parent7c8558da362fda976eaef44bb0fbb63ae3082d17 (diff)
parent34ebceb25a40a2160349656265951cbe9a5b0f34 (diff)
downloadbitcoin-169d379c98357a17e634f34b5e72033c69f9a7cb.tar.xz
Merge #8046: [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
34ebceb [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX (Jonas Schnelli)
Diffstat (limited to 'src/qt')
-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()