comment update
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 5 Jun 2011 09:04:14 +0000 (11:04 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Sun, 5 Jun 2011 09:15:40 +0000 (11:15 +0200)
README.rst
gui/src/clientmodel.cpp

index e3d6bd7..eb209ce 100644 (file)
@@ -14,7 +14,7 @@ This has been implemented:
 
 - GUI only functionality (copy to clipboard, select address, address/transaction filter proxys)
 
-- Bitcoin core is made compatible with Qt4, and linked against
+- Bitcoin core is made compatible with Qt4
 
 - Send coins dialog: address and input validation
 
index 497f8dc..5f3517a 100644 (file)
@@ -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());