aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 18:39:52 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-25 18:39:52 +0200
commitbbae0fc9efa6eb7155d679a1cc3eeb451d594d14 (patch)
tree516d2f264cd035a2cc92f0ca98ea99c2f1cede8b /src/qt/transactiontablemodel.cpp
parentdaa1a7398fc1c6a70c9253ee7c5825674e7ba378 (diff)
put color constants in guiconstants.h
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r--src/qt/transactiontablemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 17622e07fa..7062ceecbd 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -514,11 +514,11 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
/* Non-confirmed transactions are grey */
if(!rec->status.confirmed)
{
- return QColor(128, 128, 128);
+ return COLOR_UNCONFIRMED;
}
if(index.column() == Amount && (rec->credit+rec->debit) < 0)
{
- return QColor(255, 0, 0);
+ return COLOR_NEGATIVE;
}
}
else if (role == TypeRole)