diff options
author | bd <bdunahu@operationnull.com> | 2025-04-26 15:02:09 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-26 15:02:09 -0400 |
commit | 118427baa510419041c3f8e9c7a4616b93f01672 (patch) | |
tree | 32a2cc1c83d933e6eea81956ad209a905b9dc607 | |
parent | ae2aaecfc1b2402a55e99cf674eff7b6175b0b6d (diff) |
Decide to zero pad all hexadecimal numbers
-rw-r--r-- | gui/digitlabelhelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/digitlabelhelper.h b/gui/digitlabelhelper.h index 4d45c68..744bf0f 100644 --- a/gui/digitlabelhelper.h +++ b/gui/digitlabelhelper.h @@ -36,7 +36,7 @@ class DigitLabelHelper { if (is_cleared) return QString(); - return is_hex ? QString::asprintf("%X", value) : QString::number(value); + return is_hex ? QString::asprintf("%08X", value) : QString::number(value); } }; |