aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiontablemodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 16:57:19 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 16:57:19 +0200
commit5eaa1b435c144d841c9a03fb9c478ef760f22d8c (patch)
treeea8be8ae4298e5e532c710946438adad98015091 /src/qt/transactiontablemodel.cpp
parentae3d0aba158d0a38c33d687e5473d688fbcb903d (diff)
Qt handles the "..." for too long table rows. Remove this functionality from TransactionTableModel...
Diffstat (limited to 'src/qt/transactiontablemodel.cpp')
-rw-r--r--src/qt/transactiontablemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 52c9b0ce84..6a7f7aab4a 100644
--- a/src/qt/transactiontablemodel.cpp
+++ b/src/qt/transactiontablemodel.cpp
@@ -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;
}