Text within parantheses is no longer stripped out from the game name popup when adding or removing games from custom collections

This commit is contained in:
Leon Styhre 2024-06-17 17:05:27 +02:00
parent ebd1662ad5
commit 592f132dcd

View file

@ -775,16 +775,14 @@ const bool CollectionSystemsManager::toggleGameInCollection(FileData* file)
mAutoCollectionSystemsData["favorites"].system); mAutoCollectionSystemsData["favorites"].system);
} }
if (adding) { if (adding) {
mWindow->queueInfoPopup( mWindow->queueInfoPopup("ADDED '" + Utils::String::toUpper(name) + "' TO '" +
"ADDED '" + Utils::String::toUpper(Utils::String::removeParenthesis(name)) + Utils::String::toUpper(sysName) + "'",
"' TO '" + Utils::String::toUpper(sysName) + "'", 4000);
4000);
} }
else { else {
mWindow->queueInfoPopup( mWindow->queueInfoPopup("REMOVED '" + Utils::String::toUpper(name) + "' FROM '" +
"REMOVED '" + Utils::String::toUpper(Utils::String::removeParenthesis(name)) + Utils::String::toUpper(sysName) + "'",
"' FROM '" + Utils::String::toUpper(sysName) + "'", 4000);
4000);
} }
return true; return true;
} }