aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-01 18:31:10 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-01 18:31:10 +0200
commitcdff41c12ec83cebf0ce12c4715c9c8c54549057 (patch)
tree0cbebbb772b46eaac3384721891e1c03ba182a85 /src/qt
parentab90d6e62a8ca17c3c8f617ead57b17e7ba7ee94 (diff)
cleanup unused constants
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/transactiontablemodel.cpp4
-rw-r--r--src/qt/transactiontablemodel.h5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index b2fe167bfe..5b11b3311b 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -15,10 +15,6 @@
#include <QDateTime>
#include <QtAlgorithms>
-const QString TransactionTableModel::Sent = "s";
-const QString TransactionTableModel::Received = "r";
-const QString TransactionTableModel::Other = "o";
-
// Credit and Debit columns are right-aligned as they contain numbers
static int column_alignments[] = {
Qt::AlignLeft|Qt::AlignVCenter,
diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h
index c26acbc101..835b387575 100644
--- a/src/qt/transactiontablemodel.h
+++ b/src/qt/transactiontablemodel.h
@@ -39,11 +39,6 @@ public:
AbsoluteAmountRole
} RoleIndex;
- /* TypeRole values */
- static const QString Sent;
- static const QString Received;
- static const QString Other;
-
int rowCount(const QModelIndex &parent) const;
int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const;