From 6c83a8419b3dd6aee2900803e2ee6e61781a16f8 Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Fri, 6 Jul 2012 01:43:28 +1000 Subject: Add a timer to check for changes in immature or unconfirmed balances, when these are non-zero. Fixed a minor mem leak. --- src/qt/clientmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/clientmodel.cpp') 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())); -- cgit v1.2.3