aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-07-07 04:37:03 -0700
committerWladimir J. van der Laan <[email protected]>2012-07-07 04:37:03 -0700
commit9502ee3b5f31d5e80eeb339dccc23d17ca995d03 (patch)
tree0aa5a45305cf4af66655c28007412fd8edac88d2 /src/qt/clientmodel.cpp
parentWarn if blockchain majority doesn't match CBlock::CURRENT_VERSION (diff)
parentAdd a timer to check for changes in immature or unconfirmed balances, (diff)
downloaddiscoin-9502ee3b5f31d5e80eeb339dccc23d17ca995d03.tar.xz
discoin-9502ee3b5f31d5e80eeb339dccc23d17ca995d03.zip
Merge pull request #1559 from sje397/BalanceSignalFix
Add a timer to check for changes in immature or unconfirmed balances,
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index cabbd5d24..8fcc4e650 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -18,7 +18,7 @@ ClientModel::ClientModel(OptionsModel *optionsModel, QObject *parent) :
{
numBlocksAtStartup = -1;
- pollTimer = new QTimer();
+ pollTimer = new QTimer(this);
pollTimer->setInterval(MODEL_UPDATE_DELAY);
pollTimer->start();
connect(pollTimer, SIGNAL(timeout()), this, SLOT(updateTimer()));