Qt: allow "emergency" shutdown during startup
- allows closing our splash screen to abort startup
This commit is contained in:
parent
8d132431b4
commit
4bd1185280
@ -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 New Issue
Block a user