[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
This commit is contained in:
parent
69b3a6dd9d
commit
34ebceb25a
1 changed files with 1 additions and 0 deletions
|
@ -370,6 +370,7 @@ void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
|
||||||
splash->setAttribute(Qt::WA_DeleteOnClose);
|
splash->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
splash->show();
|
splash->show();
|
||||||
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
|
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
|
||||||
|
connect(this, SIGNAL(requestedShutdown()), splash, SLOT(close()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BitcoinApplication::startThread()
|
void BitcoinApplication::startThread()
|
||||||
|
|
Loading…
Reference in a new issue