diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-07 15:18:54 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-02-07 15:15:10 -0500 |
commit | 2222bf02c94a10387c318b295982719eb07b8d06 (patch) | |
tree | fa4e46242d871a3b02e433fc56d92309809a1512 /src/qt/bitcoin.cpp | |
parent | 5ad320598f06370de65f83b6c6a993123f00b329 (diff) |
qt: Poll ShutdownTimer after init is done
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index b26d99a20a..09d318efbd 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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 } |