aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorScott Ellis <sje397@gmail.com>2012-07-06 01:43:28 +1000
committerScott Ellis <sje397@gmail.com>2012-07-06 03:05:35 +1000
commit6c83a8419b3dd6aee2900803e2ee6e61781a16f8 (patch)
tree5ff5842ceb38f3e6ce934c6be47cdc2ad1257cd0 /src/qt/clientmodel.cpp
parentfe70b09c428585166f1040e9023251c9c250e894 (diff)
downloadbitcoin-6c83a8419b3dd6aee2900803e2ee6e61781a16f8.tar.xz
Add a timer to check for changes in immature or unconfirmed balances,
when these are non-zero. Fixed a minor mem leak.
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 cabbd5d240..8fcc4e650e 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()));