diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-17 22:44:15 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-17 22:44:15 +0200 |
commit | aa5297266093eccd984a2d8fb20499617ef96c81 (patch) | |
tree | 4c5b810295fd78271c241d65cf58cc47139d75ed /src/qt | |
parent | e4347a43b9fb7c0815c18475952297bbedab00a0 (diff) |
fix issue #3 (dark theme compat)
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index eeb948b616..d2cdd4a623 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); } |