mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
Qt: allow "emergency" shutdown during startup
- allows closing our splash screen to abort startup
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user