mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Use translated size units, see #279
This commit is contained in:
parent
084ee56928
commit
c302c78907
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue