diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-03-06 20:22:50 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-03-07 13:08:20 +0000 |
commit | 3b26b6af728d5ac538d333a1275073c7c5a012e1 (patch) | |
tree | 3e667109c50ba8445532cd2e404664e63d0d31c0 /src/qt/transactiontablemodel.cpp | |
parent | 20e3b9a485fd6b23785c5caa49d01ea49fdc8bcf (diff) |
qt: Remove TransactionTableModel::TxIDRole
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 626d4c0bdc..84800125fe 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -615,10 +615,8 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const return walletModel->getAddressTableModel()->labelForAddress(QString::fromStdString(rec->address)); case AmountRole: return qint64(rec->credit + rec->debit); - case TxIDRole: - return rec->getTxID(); case TxHashRole: - return QString::fromStdString(rec->hash.ToString()); + return rec->getTxHash(); case TxHexRole: return priv->getTxHex(rec); case TxPlainTextRole: |