mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
qt: Poll ShutdownTimer after init is done
This commit is contained in:
parent
5ad320598f
commit
2222bf02c9
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,6 @@ void BitcoinApplication::createWindow(const NetworkStyle *networkStyle)
|
|||
|
||||
pollShutdownTimer = new QTimer(window);
|
||||
connect(pollShutdownTimer, SIGNAL(timeout()), window, SLOT(detectShutdown()));
|
||||
pollShutdownTimer->start(200);
|
||||
}
|
||||
|
||||
void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle)
|
||||
|
@ -515,6 +514,7 @@ void BitcoinApplication::initializeResult(bool success)
|
|||
window, SLOT(message(QString,QString,unsigned int)));
|
||||
QTimer::singleShot(100, paymentServer, SLOT(uiReady()));
|
||||
#endif
|
||||
pollShutdownTimer->start(200);
|
||||
} else {
|
||||
quit(); // Exit main loop
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue