Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactionfilterproxy.cpp
Show All 27 Lines | bool TransactionFilterProxy::filterAcceptsRow( | ||||
int type = index.data(TransactionTableModel::TypeRole).toInt(); | int type = index.data(TransactionTableModel::TypeRole).toInt(); | ||||
QDateTime datetime = | QDateTime datetime = | ||||
index.data(TransactionTableModel::DateRole).toDateTime(); | index.data(TransactionTableModel::DateRole).toDateTime(); | ||||
bool involvesWatchAddress = | bool involvesWatchAddress = | ||||
index.data(TransactionTableModel::WatchonlyRole).toBool(); | index.data(TransactionTableModel::WatchonlyRole).toBool(); | ||||
QString address = index.data(TransactionTableModel::AddressRole).toString(); | QString address = index.data(TransactionTableModel::AddressRole).toString(); | ||||
QString label = index.data(TransactionTableModel::LabelRole).toString(); | QString label = index.data(TransactionTableModel::LabelRole).toString(); | ||||
QString txid = index.data(TransactionTableModel::TxHashRole).toString(); | |||||
Amount amount( | Amount amount( | ||||
int64_t( | int64_t( | ||||
llabs(index.data(TransactionTableModel::AmountRole).toLongLong())) * | llabs(index.data(TransactionTableModel::AmountRole).toLongLong())) * | ||||
SATOSHI); | SATOSHI); | ||||
int status = index.data(TransactionTableModel::StatusRole).toInt(); | int status = index.data(TransactionTableModel::StatusRole).toInt(); | ||||
if (!showInactive && status == TransactionStatus::Conflicted) { | if (!showInactive && status == TransactionStatus::Conflicted) { | ||||
return false; | return false; | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |