show last few transactions on overview page

This commit is contained in:
Wladimir J. van der Laan
2011-08-03 20:52:18 +02:00
parent 2566b30c38
commit a99ac8d3f4
13 changed files with 268 additions and 76 deletions

View File

@@ -578,6 +578,10 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
{
return llabs(rec->credit + rec->debit);
}
else if (role == AmountRole)
{
return rec->credit + rec->debit;
}
else if (role == TxIDRole)
{
return QString::fromStdString(rec->getTxID());