summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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>";