aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addresstablemodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-09-06 03:26:02 -0700
committerWladimir J. van der Laan <[email protected]>2013-09-06 03:26:02 -0700
commit9d6b60cf50ffcf2cd35659afa1a7f5dd5bfa06e3 (patch)
treee90e584fb8643d63ee9c6083599b29b0ed48bded /src/qt/addresstablemodel.cpp
parentMerge pull request #2978 from gmaxwell/rpc_settxfee_doc (diff)
parentBitcoin-Qt: Use qDebug() for printing to debug.log (diff)
downloaddiscoin-9d6b60cf50ffcf2cd35659afa1a7f5dd5bfa06e3.tar.xz
discoin-9d6b60cf50ffcf2cd35659afa1a7f5dd5bfa06e3.zip
Merge pull request #2973 from Diapolo/qDebug
Bitcoin-Qt: Use qDebug() for printing to debug.log
Diffstat (limited to 'src/qt/addresstablemodel.cpp')
-rw-r--r--src/qt/addresstablemodel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/addresstablemodel.cpp b/src/qt/addresstablemodel.cpp
index be31b0374..921c4443a 100644
--- a/src/qt/addresstablemodel.cpp
+++ b/src/qt/addresstablemodel.cpp
@@ -7,6 +7,7 @@
#include "base58.h"
#include <QFont>
+#include <QDebug>
const QString AddressTableModel::Send = "S";
const QString AddressTableModel::Receive = "R";
@@ -109,7 +110,7 @@ public:
case CT_NEW:
if(inModel)
{
- OutputDebugStringF("Warning: AddressTablePriv::updateEntry: Got CT_NOW, but entry is already in model\n");
+ qDebug() << "AddressTablePriv::updateEntry : Warning: Got CT_NOW, but entry is already in model";
break;
}
parent->beginInsertRows(QModelIndex(), lowerIndex, lowerIndex);
@@ -119,7 +120,7 @@ public:
case CT_UPDATED:
if(!inModel)
{
- OutputDebugStringF("Warning: AddressTablePriv::updateEntry: Got CT_UPDATED, but entry is not in model\n");
+ qDebug() << "AddressTablePriv::updateEntry : Warning: Got CT_UPDATED, but entry is not in model";
break;
}
lower->type = newEntryType;
@@ -129,7 +130,7 @@ public:
case CT_DELETED:
if(!inModel)
{
- OutputDebugStringF("Warning: AddressTablePriv::updateEntry: Got CT_DELETED, but entry is not in model\n");
+ qDebug() << "AddressTablePriv::updateEntry : Warning: Got CT_DELETED, but entry is not in model";
break;
}
parent->beginRemoveRows(QModelIndex(), lowerIndex, upperIndex-1);