From ec2bc68d9115238724e914a68f7231980c945e86 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 1 Jul 2023 21:54:27 +0200 Subject: [PATCH] Changed the multi-scraper to only show the total game count per system --- es-app/src/guis/GuiScraperMulti.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/es-app/src/guis/GuiScraperMulti.cpp b/es-app/src/guis/GuiScraperMulti.cpp index 554e332dc..3447bf3e8 100644 --- a/es-app/src/guis/GuiScraperMulti.cpp +++ b/es-app/src/guis/GuiScraperMulti.cpp @@ -221,11 +221,11 @@ void GuiScraperMulti::doNextSearch() std::stringstream ss; if (mQueueCountPerSystem.size() > 1) { - const int gameCount {++mQueueCountPerSystem[mSearchQueue.front().system].first}; + // const int gameCount {++mQueueCountPerSystem[mSearchQueue.front().system].first}; const int totalGameCount {mQueueCountPerSystem[mSearchQueue.front().system].second}; - mSystem->setText(Utils::String::toUpper(mSearchQueue.front().system->getFullName()) + - " [GAME " + std::to_string(gameCount) + " OF " + - std::to_string(totalGameCount) + "]"); + mSystem->setText(Utils::String::toUpper(mSearchQueue.front().system->getFullName()) + " [" + + std::to_string(totalGameCount) + " GAME" + + (totalGameCount == 1 ? "]" : "S]")); } else { mSystem->setText(Utils::String::toUpper(mSearchQueue.front().system->getFullName()));