mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
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…
Add table
Add a link
Reference in a new issue