]> cloud.milkyroute.net Git - dolphin.git/commitdiff
The size is passed in from KDiskFreeSpace as kilobytes, not kibibytes; use the approp...
authorJeff Mitchell <mitchell@kde.org>
Thu, 27 Mar 2008 22:52:21 +0000 (22:52 +0000)
committerJeff Mitchell <mitchell@kde.org>
Thu, 27 Mar 2008 22:52:21 +0000 (22:52 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=790986

src/statusbarspaceinfo.cpp

index 6ccedd77dc4b0a0a8929c98373484fa01e8aef52..be9af5685eb784a6bb81e795da5f213e147c1227 100644 (file)
@@ -74,7 +74,7 @@ void StatusBarSpaceInfo::slotFoundMountPoint(const QString& mountPoint,
     const bool valuesChanged = (kBUsed != static_cast<quint64>(value())) ||
                                (kBAvailable != static_cast<quint64>(maximum()));
     if (valuesChanged) {
-        m_text = i18nc("@info:status Free disk space", "%1 free", KIO::convertSizeFromKiB(kBAvailable));
+        m_text = i18nc("@info:status Free disk space", "%1 free", KIO::convertSize(kBAvailable));
         setMaximum(kBSize);
         setValue(kBUsed);
     }