mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
Qt handles the "..." for too long table rows. Remove this functionality from TransactionTableModel...
This commit is contained in:
parent
ae3d0aba15
commit
5eaa1b435c
@ -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…
Reference in New Issue
Block a user