summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-21 11:42:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-21 11:42:25 +0200
commit526ce56f7e6ae3c8a2aa1c96f4e87af9eaa305e1 (patch)
treea545551caaee1c2bd172b8132db72c6a3a250671 /src
parentFix untraslatable string (diff)
downloadrekonq-526ce56f7e6ae3c8a2aa1c96f4e87af9eaa305e1.tar.xz
Use KLocale::formatByteSize instead of a i18n call
Pino suggested me it is better. And it seems so, Thanks :) CCBUG: 278170
Diffstat (limited to 'src')
-rw-r--r--src/protocolhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp
index 4212955e..93f7bc37 100644
--- a/src/protocolhandler.cpp
+++ b/src/protocolhandler.cpp
@@ -311,7 +311,7 @@ QString ProtocolHandler::dirHandling(const KFileItemList &list)
msg += "<td align=\"right\">";
if(item.isFile())
{
- msg += i18n("%1 KB", QString::number(item.size() / 1024) );
+ msg += KGlobal::locale()->formatByteSize(item.size(), 1);
}
msg += "</td>";