Merge #8046: [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX

34ebceb [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX (Jonas Schnelli)
This commit is contained in:
Jonas Schnelli 2016-05-12 13:15:33 +02:00
commit 169d379c98
No known key found for this signature in database
GPG key ID: 29D4BCB6416F53EC

View file

@ -370,6 +370,7 @@ void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
splash->setAttribute(Qt::WA_DeleteOnClose);
splash->show();
connect(this, SIGNAL(splashFinished(QWidget*)), splash, SLOT(slotFinish(QWidget*)));
connect(this, SIGNAL(requestedShutdown()), splash, SLOT(close()));
}
void BitcoinApplication::startThread()