diff options
-rw-r--r-- | source/windowing/StarItemSlotWidget.cpp | 7 |
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"; |