From 5ba49028eda977e4b1253b49a0cd156ad1fe148c Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Sun, 10 Oct 2010 17:34:10 +0200 Subject: [PATCH] Back to MB and KB, we're in string freeze --- src/downloaditem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/downloaditem.cpp b/src/downloaditem.cpp index 25e85cb..ab92fc3 100644 --- a/src/downloaditem.cpp +++ b/src/downloaditem.cpp @@ -214,10 +214,10 @@ QString DownloadItem::formattedFilesize(qint64 size) { unit = tr("bytes"); } else if (size < 1024*1024) { size /= 1024; - unit = tr("KiB"); + unit = tr("KB"); } else { size /= 1024*1024; - unit = tr("MiB"); + unit = tr("MB"); } return QString(QLatin1String("%1 %2")).arg(size).arg(unit); } @@ -236,10 +236,10 @@ QString DownloadItem::formattedSpeed(double speed) { unit = tr("bytes/sec"); } else if (speedInt < 1024*1024) { speedInt /= 1024; - unit = tr("KiB/sec"); + unit = tr("KB/sec"); } else { speedInt /= 1024*1024; - unit = tr("MiB/sec"); + unit = tr("MB/sec"); } return QString(QLatin1String("%1 %2")).arg(speedInt).arg(unit); } -- 2.39.5