mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user