Qt: allow "emergency" shutdown during startup
- allows closing our splash screen to abort startup
This commit is contained in:
parent
8d132431b4
commit
4bd1185280
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue