Qt handles the "..." for too long table rows. Remove this functionality from TransactionTableModel...

This commit is contained in:
Wladimir J. van der Laan 2011-07-07 16:57:19 +02:00
parent ae3d0aba15
commit 5eaa1b435c
1 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ QVariant TransactionTableModel::formatTxDate(const TransactionRecord *wtx) const
}
/* Look up address in address book, if found return
address[0:12]... (label)
address (label)
otherwise just return address
*/
QString TransactionTableModel::lookupAddress(const std::string &address) const
@ -333,7 +333,7 @@ QString TransactionTableModel::lookupAddress(const std::string &address) const
}
else
{
description = label + QString(" (") + QString::fromStdString(address.substr(0,12)) + QString("...)");
description = label + QString(" (") + QString::fromStdString(address) + QString(")");
}
return description;
}