[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX

This commit is contained in:
Jonas Schnelli 2016-05-12 09:51:43 +02:00
parent 69b3a6dd9d
commit 34ebceb25a
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->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()