Qt: allow "emergency" shutdown during startup

- allows closing our splash screen to abort startup
This commit is contained in:
Philip Kaufmann 2014-10-02 11:26:36 +02:00
parent 8d132431b4
commit 4bd1185280

View file

@ -177,5 +177,6 @@ void SplashScreen::paintEvent(QPaintEvent *event)
void SplashScreen::closeEvent(QCloseEvent *event) void SplashScreen::closeEvent(QCloseEvent *event)
{ {
StartShutdown(); // allows an "emergency" shutdown during startup
event->ignore(); event->ignore();
} }