|
|
|
@ -380,8 +380,6 @@ QString TransactionTableModel::formatTxType(const TransactionRecord *wtx) const
|
|
|
|
|
case TransactionRecord::SendToAddress:
|
|
|
|
|
case TransactionRecord::SendToOther:
|
|
|
|
|
return tr("Sent to");
|
|
|
|
|
case TransactionRecord::SendToSelf:
|
|
|
|
|
return tr("Payment to yourself");
|
|
|
|
|
case TransactionRecord::Generated:
|
|
|
|
|
return tr("Mined");
|
|
|
|
|
default:
|
|
|
|
@ -424,8 +422,6 @@ QString TransactionTableModel::formatTxToAddress(const TransactionRecord *wtx, b
|
|
|
|
|
return lookupAddress(wtx->address, tooltip) + watchAddress;
|
|
|
|
|
case TransactionRecord::SendToOther:
|
|
|
|
|
return QString::fromStdString(wtx->address) + watchAddress;
|
|
|
|
|
case TransactionRecord::SendToSelf:
|
|
|
|
|
return lookupAddress(wtx->address, tooltip) + watchAddress;
|
|
|
|
|
default:
|
|
|
|
|
return tr("(n/a)") + watchAddress;
|
|
|
|
|
}
|
|
|
|
@ -444,8 +440,6 @@ QVariant TransactionTableModel::addressColor(const TransactionRecord *wtx) const
|
|
|
|
|
if(label.isEmpty())
|
|
|
|
|
return COLOR_BAREADDRESS;
|
|
|
|
|
} break;
|
|
|
|
|
case TransactionRecord::SendToSelf:
|
|
|
|
|
return COLOR_BAREADDRESS;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|