From 0acbe1c0d2cea54e6ca5eefb8e59b7f99e28ac28 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 21 Sep 2016 15:44:02 +0200 Subject: [PATCH] Fixed: Use translated size units, see #279 --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index fac7e7599..e2b26a7bb 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -31,7 +31,7 @@ QString qBytesToHumanReadable(qint64 bytes) units.push_back(QObject::tr("PiB").toUtf8().constData()); } - return QString::fromUtf8(NLMISC::bytesToHumanReadable(bytes).c_str()); + return QString::fromUtf8(NLMISC::bytesToHumanReadableUnits(bytes, units).c_str()); } qint64 getDirectorySize(const QString &directory, bool recursize)