qt: Remove TransactionTableModel::TxIDRole

This commit is contained in:
João Barbosa
2018-03-06 20:22:50 +00:00
parent 20e3b9a485
commit 3b26b6af72
8 changed files with 8 additions and 12 deletions

View File

@@ -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: