Browse Source

cleanup unused constants

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
cdff41c12e
  1. 4
      src/qt/transactiontablemodel.cpp
  2. 5
      src/qt/transactiontablemodel.h

4
src/qt/transactiontablemodel.cpp

@ -15,10 +15,6 @@
#include <QDateTime> #include <QDateTime>
#include <QtAlgorithms> #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 // Credit and Debit columns are right-aligned as they contain numbers
static int column_alignments[] = { static int column_alignments[] = {
Qt::AlignLeft|Qt::AlignVCenter, Qt::AlignLeft|Qt::AlignVCenter,

5
src/qt/transactiontablemodel.h

@ -39,11 +39,6 @@ public:
AbsoluteAmountRole AbsoluteAmountRole
} RoleIndex; } RoleIndex;
/* TypeRole values */
static const QString Sent;
static const QString Received;
static const QString Other;
int rowCount(const QModelIndex &parent) const; int rowCount(const QModelIndex &parent) const;
int columnCount(const QModelIndex &parent) const; int columnCount(const QModelIndex &parent) const;
QVariant data(const QModelIndex &index, int role) const; QVariant data(const QModelIndex &index, int role) const;

Loading…
Cancel
Save