Small code formatting change.

This commit is contained in:
Leon Styhre 2021-07-07 21:13:40 +02:00
parent cbab11dc11
commit 96503a23c6

View file

@ -609,8 +609,7 @@ void CollectionSystemsManager::setEditMode(std::string collectionName, bool show
mEditingCollectionSystemData = sysData; mEditingCollectionSystemData = sysData;
if (showPopup) { if (showPopup) {
GuiInfoPopup* s = GuiInfoPopup* s = new GuiInfoPopup(mWindow,
new GuiInfoPopup(mWindow,
"EDITING '" + Utils::String::toUpper(collectionName) + "EDITING '" + Utils::String::toUpper(collectionName) +
"' COLLECTION, ADD/REMOVE GAMES WITH 'Y'", "' COLLECTION, ADD/REMOVE GAMES WITH 'Y'",
10000); 10000);
@ -942,8 +941,7 @@ void CollectionSystemsManager::deleteCustomCollection(std::string collectionName
<< configFile << "'."; << configFile << "'.";
GuiInfoPopup* s = new GuiInfoPopup( GuiInfoPopup* s = new GuiInfoPopup(
mWindow, "DELETED COLLECTION '" + Utils::String::toUpper(collectionName) + "'", mWindow, "DELETED COLLECTION '" + Utils::String::toUpper(collectionName) + "'", 5000);
5000);
mWindow->setInfoPopup(s); mWindow->setInfoPopup(s);
} }
else { else {