diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-05 11:04:14 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-05 11:15:40 +0200 |
| commit | afacb3406d6e2ad24d0b45c56a4f5137302e1102 (patch) | |
| tree | f24a2a64d0e969491eed386847dc127271f8def2 | |
| parent | update most importent TODOs in readme (diff) | |
| download | discoin-afacb3406d6e2ad24d0b45c56a4f5137302e1102.tar.xz discoin-afacb3406d6e2ad24d0b45c56a4f5137302e1102.zip | |
comment update
| -rw-r--r-- | README.rst | 2 | ||||
| -rw-r--r-- | gui/src/clientmodel.cpp | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/README.rst b/README.rst index e3d6bd75e..eb209ce05 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/gui/src/clientmodel.cpp b/gui/src/clientmodel.cpp index 497f8dc3d..5f3517abd 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()); |