Fix types 2

This commit is contained in:
schm1dtmac 2024-12-29 21:05:07 +00:00 committed by Elad
parent 9ffa923da6
commit b16d267f9d

View File

@ -626,10 +626,10 @@ namespace gui
usz byte_unit = 0;
usz divisor = 1;
#if defined(__APPLE__)
constexpr multiplier = 1000;
constexpr usz multiplier = 1000;
static const QString s_units[]{"B", "kB", "MB", "GB", "TB", "PB"};
#else
constexpr multiplier = 1024;
constexpr usz multiplier = 1024;
static const QString s_units[]{"B", "KiB", "MiB", "GiB", "TiB", "PiB"};
#endif