aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-02 11:26:36 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-10-02 11:26:36 +0200
commit4bd11852802f3ed11e17e8d66660ce2e60f02287 (patch)
tree9225a34a403125a512df3275685f5b0fb81f2375 /src/qt/splashscreen.cpp
parent8d132431b4f6a7676482815231cd923d9047d541 (diff)
Qt: allow "emergency" shutdown during startup
- allows closing our splash screen to abort startup
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r--src/qt/splashscreen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 4fe610794f..74512e62aa 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -177,5 +177,6 @@ void SplashScreen::paintEvent(QPaintEvent *event)
void SplashScreen::closeEvent(QCloseEvent *event)
{
+ StartShutdown(); // allows an "emergency" shutdown during startup
event->ignore();
}