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);
}
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;
}