From cdff41c12ec83cebf0ce12c4715c9c8c54549057 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Fri, 1 Jul 2011 18:31:10 +0200 Subject: [PATCH] cleanup unused constants --- src/qt/transactiontablemodel.cpp | 4 ---- src/qt/transactiontablemodel.h | 5 ----- 2 files changed, 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 #include -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;