From 6b7bc7085fb95c0df8b90be6dfa2518f47025e66 Mon Sep 17 00:00:00 2001 From: defnax Date: Wed, 24 Mar 2010 13:35:26 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/DetailsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/DetailsDialog.cpp b/retroshare-gui/src/gui/DetailsDialog.cpp index 1f832dafd..61a1e8350 100644 --- a/retroshare-gui/src/gui/DetailsDialog.cpp +++ b/retroshare-gui/src/gui/DetailsDialog.cpp @@ -138,7 +138,7 @@ void DetailsDialog::setHash(const QString & hash) 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)