From f9ead10fc7830e3b522fcc7cc615087a48fd6c16 Mon Sep 17 00:00:00 2001 From: grbr404 <166065505+grbr404@users.noreply.github.com> Date: Thu, 5 Jun 2025 22:56:00 +0200 Subject: removed the to big ones --- source/windowing/StarItemSlotWidget.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source') 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"; -- cgit v1.2.3