Browse Source

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

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
5eaa1b435c
  1. 4
      src/qt/transactiontablemodel.cpp

4
src/qt/transactiontablemodel.cpp

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

Loading…
Cancel
Save