aboutsummaryrefslogtreecommitdiff
path: root/src/qt/splashscreen.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-06-04 08:50:27 +0200
committerWladimir J. van der Laan <[email protected]>2014-06-04 09:14:51 +0200
commit358a61ee061f5cec53c62e8226872a2d02afdb0d (patch)
tree4e16bf72ca93da45174a3a15cd0969c71f8d6c16 /src/qt/splashscreen.cpp
parentMerge pull request #4279 (diff)
parentVerifyDB progress (diff)
downloaddiscoin-358a61ee061f5cec53c62e8226872a2d02afdb0d.tar.xz
discoin-358a61ee061f5cec53c62e8226872a2d02afdb0d.zip
Merge pull request #4223
06a91d9 VerifyDB progress (Cozz Lovan)
Diffstat (limited to 'src/qt/splashscreen.cpp')
-rw-r--r--src/qt/splashscreen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 7c79b0efd..1162e2d87 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -129,6 +129,7 @@ void SplashScreen::subscribeToCoreSignals()
{
// Connect signals to client
uiInterface.InitMessage.connect(boost::bind(InitMessage, this, _1));
+ uiInterface.ShowProgress.connect(boost::bind(ShowProgress, this, _1, _2));
#ifdef ENABLE_WALLET
uiInterface.LoadWallet.connect(boost::bind(ConnectWallet, this, _1));
#endif
@@ -138,6 +139,7 @@ void SplashScreen::unsubscribeFromCoreSignals()
{
// Disconnect signals from client
uiInterface.InitMessage.disconnect(boost::bind(InitMessage, this, _1));
+ uiInterface.ShowProgress.disconnect(boost::bind(ShowProgress, this, _1, _2));
#ifdef ENABLE_WALLET
if(pwalletMain)
pwalletMain->ShowProgress.disconnect(boost::bind(ShowProgress, this, _1, _2));