aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-12 11:22:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-12 11:22:44 +0200
commitc428d9e76a03f066a31f605cfae28af8548b367e (patch)
treedadecfc027d790b09c1126094f29ebe9c9eb9a6b /src/qt/transactiontablemodel.cpp
parent37f793c63169d37031fbaa894fb61c76ef9adc0e (diff)
remove wallet updating debug output
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r--src/qt/transactiontablemodel.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 8fe1839930..ddfebff3fe 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -51,8 +51,9 @@ struct TransactionTablePriv
void refreshWallet()
{
+#ifdef WALLET_UPDATE_DEBUG
qDebug() << "refreshWallet";
-
+#endif
/* Query entire wallet from core.
*/
cachedWallet.clear();
@@ -72,8 +73,9 @@ struct TransactionTablePriv
{
/* Walk through updated transactions, update model as needed.
*/
+#ifdef WALLET_UPDATE_DEBUG
qDebug() << "updateWallet";
-
+#endif
/* Sort update list, and iterate through it in reverse, so that model updates
can be emitted from end to beginning (so that earlier updates will not influence
the indices of latter ones).
@@ -103,8 +105,10 @@ struct TransactionTablePriv
inModel = true;
}
+#ifdef WALLET_UPDATE_DEBUG
qDebug() << " " << QString::fromStdString(hash.ToString()) << inWallet << " " << inModel
<< lowerIndex << "-" << upperIndex;
+#endif
if(inWallet && !inModel)
{