Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrbr404 <166065505+grbr404@users.noreply.github.com>2025-06-05 22:56:00 +0200
committerGitHub <noreply@github.com>2025-06-05 22:56:00 +0200
commitf9ead10fc7830e3b522fcc7cc615087a48fd6c16 (patch)
treee1103e6fe0e162c78ba8186feb1b44ffbdb23a44
parentb992c2af94ac81401b3fb9376809bf9d5f2870d2 (diff)
removed the to big ones
-rw-r--r--source/windowing/StarItemSlotWidget.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/windowing/StarItemSlotWidget.cpp b/source/windowing/StarItemSlotWidget.cpp
index a54a83b..b579e7c 100644
--- a/source/windowing/StarItemSlotWidget.cpp
+++ b/source/windowing/StarItemSlotWidget.cpp
@@ -186,14 +186,9 @@ void ItemSlotWidget::renderImpl() {
}
if (m_item->count() > 1 && m_showCount) { // we don't need to tell people that there's only 1 of something
- uint64_t count = m_item->count();
std::string formattedCount;
- if (m_item->count() >= 1000000000000000000000) { // Sextillion (S)
- formattedCount = toString(m_item->count() / 1000000000000000000000) + "S";
- } else if (m_item->count() >= 1000000000000000000) { // Quintillion (Q)
- formattedCount = toString(m_item->count() / 1000000000000000000) + "Q";
- } else if (m_item->count() >= 1000000000000000) { // Quadrillion (q)
+ if (m_item->count() >= 1000000000000000) { // Quadrillion (q)
formattedCount = toString(m_item->count() / 1000000000000000) + "q";
} else if (m_item->count() >= 1000000000000) { // Trillion (t)
formattedCount = toString(m_item->count() / 1000000000000) + "t";