Fix types

This commit is contained in:
schm1dtmac 2024-12-29 20:07:02 +00:00 committed by GitHub
parent 5f96f992df
commit 2187788f8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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