Gib -> GiB
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
30cf73a22f
commit
b16829b0f9
@ -160,7 +160,7 @@ QString StringUtils::truncateUrlHumanFriendly(QUrl& url, int max_len, bool hard_
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const QStringList s_units_si{ "KB", "MB", "GB", "TB" };
|
static const QStringList s_units_si{ "KB", "MB", "GB", "TB" };
|
||||||
static const QStringList s_units_kibi{ "KiB", "MiB", "Gib", "TiB" };
|
static const QStringList s_units_kibi{ "KiB", "MiB", "GiB", "TiB" };
|
||||||
|
|
||||||
QString StringUtils::humanReadableFileSize(double bytes, bool use_si, int decimal_points)
|
QString StringUtils::humanReadableFileSize(double bytes, bool use_si, int decimal_points)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user