Added to display filesize in Bytes for Details

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-03-24 13:35:26 +00:00
parent 11a8a71204
commit 6b7bc7085f

View File

@ -138,7 +138,7 @@ void DetailsDialog::setHash(const QString & hash)
void DetailsDialog::setSize(const qulonglong & size) void DetailsDialog::setSize(const qulonglong & size)
{ {
ui.size_label_2->setText(misc::friendlyUnit(size)); ui.size_label_2->setText(misc::friendlyUnit(size) + " " + "(" + QString::number(size) + " " + "Bytes" + ")");
} }
void DetailsDialog::setStatus(const QString & status) void DetailsDialog::setStatus(const QString & status)