Removed the 'Use plain ASCII for special gamelist characters' menu option.

This commit is contained in:
Leon Styhre 2022-04-15 17:13:51 +02:00
parent 254e271392
commit aa4258a31a
2 changed files with 0 additions and 15 deletions

View file

@ -580,20 +580,6 @@ void GuiMenu::openUIOptions()
}
});
// Use ASCII for special characters in the gamelist view instead of the Font Awesome symbols.
auto special_chars_ascii = std::make_shared<SwitchComponent>();
special_chars_ascii->setState(Settings::getInstance()->getBool("SpecialCharsASCII"));
s->addWithLabel("USE PLAIN ASCII FOR SPECIAL GAMELIST CHARACTERS", special_chars_ascii);
s->addSaveFunc([special_chars_ascii, s] {
if (special_chars_ascii->getState() !=
Settings::getInstance()->getBool("SpecialCharsASCII")) {
Settings::getInstance()->setBool("SpecialCharsASCII", special_chars_ascii->getState());
s->setNeedsSaving();
s->setNeedsReloading();
s->setInvalidateCachedBackground();
}
});
// Enable quick list scrolling overlay.
auto list_scroll_overlay = std::make_shared<SwitchComponent>();
list_scroll_overlay->setState(Settings::getInstance()->getBool("ListScrollOverlay"));

View file

@ -184,7 +184,6 @@ void Settings::setDefaults()
mBoolMap["FoldersOnTop"] = {true, true};
mBoolMap["FavoritesFirst"] = {true, true};
mBoolMap["FavoritesStar"] = {true, true};
mBoolMap["SpecialCharsASCII"] = {false, false};
mBoolMap["ListScrollOverlay"] = {false, false};
mBoolMap["VirtualKeyboard"] = {true, true};
mBoolMap["ScrollIndicators"] = {true, true};