Fix types 2

This commit is contained in:
schm1dtmac 2024-12-29 21:05:07 +00:00 committed by GitHub
parent da1348002c
commit 0174e6aac9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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