From b992c2af94ac81401b3fb9376809bf9d5f2870d2 Mon Sep 17 00:00:00 2001 From: grbr404 <166065505+grbr404@users.noreply.github.com> Date: Thu, 5 Jun 2025 22:52:00 +0200 Subject: maybe this fixes it --- source/windowing/StarItemSlotWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/windowing/StarItemSlotWidget.cpp b/source/windowing/StarItemSlotWidget.cpp index 232f5e1..a54a83b 100644 --- a/source/windowing/StarItemSlotWidget.cpp +++ b/source/windowing/StarItemSlotWidget.cpp @@ -186,6 +186,7 @@ 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) -- cgit v1.2.3