From 592f132dcde933bcffbdbd051196031ae6de24ee Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 17 Jun 2024 17:05:27 +0200 Subject: [PATCH] Text within parantheses is no longer stripped out from the game name popup when adding or removing games from custom collections --- es-app/src/CollectionSystemsManager.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/es-app/src/CollectionSystemsManager.cpp b/es-app/src/CollectionSystemsManager.cpp index 4ac172ba0..f0d7437d3 100644 --- a/es-app/src/CollectionSystemsManager.cpp +++ b/es-app/src/CollectionSystemsManager.cpp @@ -775,16 +775,14 @@ const bool CollectionSystemsManager::toggleGameInCollection(FileData* file) mAutoCollectionSystemsData["favorites"].system); } if (adding) { - mWindow->queueInfoPopup( - "ADDED '" + Utils::String::toUpper(Utils::String::removeParenthesis(name)) + - "' TO '" + Utils::String::toUpper(sysName) + "'", - 4000); + mWindow->queueInfoPopup("ADDED '" + Utils::String::toUpper(name) + "' TO '" + + Utils::String::toUpper(sysName) + "'", + 4000); } else { - mWindow->queueInfoPopup( - "REMOVED '" + Utils::String::toUpper(Utils::String::removeParenthesis(name)) + - "' FROM '" + Utils::String::toUpper(sysName) + "'", - 4000); + mWindow->queueInfoPopup("REMOVED '" + Utils::String::toUpper(name) + "' FROM '" + + Utils::String::toUpper(sysName) + "'", + 4000); } return true; }