mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
qt: Poll ShutdownTimer after init is done
This commit is contained in:
parent
5ad320598f
commit
2222bf02c9
@ -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…
Reference in New Issue
Block a user