aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-05 11:04:14 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-05 11:04:14 +0200
commita4b4cc290c4f75783014eb454f9862ddaf6edbf1 (patch)
treece7d1e509743cc61435d6c8264fd7ba0c27a88e9 /gui
parent75ff9d841b59bb7c3114a65ec0e59a323143c85d (diff)
comment update
Diffstat (limited to 'gui')
-rw-r--r--gui/src/clientmodel.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/src/clientmodel.cpp b/gui/src/clientmodel.cpp
index 497f8dc3d2..5f3517abdb 100644
--- a/gui/src/clientmodel.cpp
+++ b/gui/src/clientmodel.cpp
@@ -9,8 +9,8 @@
ClientModel::ClientModel(QObject *parent) :
QObject(parent), optionsModel(0), addressTableModel(0)
{
- /* Until we build signal notifications into the bitcoin core,
- simply update everything using a timer.
+ /* Until signal notifications is built into the bitcoin core,
+ simply update everything after polling using a timer.
*/
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update()));
@@ -58,6 +58,9 @@ int ClientModel::getNumTransactions()
void ClientModel::update()
{
+ /* Plainly emit all signals for now. To be precise this should check
+ wether the values actually changed first.
+ */
emit balanceChanged(getBalance());
emit addressChanged(getAddress());
emit numConnectionsChanged(getNumConnections());