Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactiontablemodel.cpp
Show First 20 Lines • Show All 384 Lines • ▼ Show 20 Lines | switch (wtx->type) { | ||||
return QString::fromStdString(wtx->address) + watchAddress; | return QString::fromStdString(wtx->address) + watchAddress; | ||||
case TransactionRecord::RecvWithAddress: | case TransactionRecord::RecvWithAddress: | ||||
case TransactionRecord::SendToAddress: | case TransactionRecord::SendToAddress: | ||||
case TransactionRecord::Generated: | case TransactionRecord::Generated: | ||||
return lookupAddress(wtx->address, tooltip) + watchAddress; | return lookupAddress(wtx->address, tooltip) + watchAddress; | ||||
case TransactionRecord::SendToOther: | case TransactionRecord::SendToOther: | ||||
return QString::fromStdString(wtx->address) + watchAddress; | return QString::fromStdString(wtx->address) + watchAddress; | ||||
case TransactionRecord::SendToSelf: | case TransactionRecord::SendToSelf: | ||||
return lookupAddress(wtx->address, tooltip) + watchAddress; | |||||
default: | default: | ||||
return tr("(n/a)") + watchAddress; | return tr("(n/a)") + watchAddress; | ||||
} | } | ||||
} | } | ||||
QVariant | QVariant | ||||
TransactionTableModel::addressColor(const TransactionRecord *wtx) const { | TransactionTableModel::addressColor(const TransactionRecord *wtx) const { | ||||
// Show addresses without label in a less visible color | // Show addresses without label in a less visible color | ||||
▲ Show 20 Lines • Show All 376 Lines • Show Last 20 Lines |