From aa5297266093eccd984a2d8fb20499617ef96c81 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Fri, 17 Jun 2011 22:44:15 +0200 Subject: [PATCH] fix issue #3 (dark theme compat) --- src/qt/transactiontablemodel.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index eeb948b6..d2cdd4a6 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -488,11 +488,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const else if (role == Qt::ForegroundRole) { /* Non-confirmed transactions are grey */ - if(rec->status.confirmed) - { - return QColor(0, 0, 0); - } - else + if(!rec->status.confirmed) { return QColor(128, 128, 128); }