mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Removed the 'Play videos immediately' setting.
This commit is contained in:
parent
c4eb1b8b97
commit
374a66dd76
|
@ -690,19 +690,6 @@ void GuiMenu::openUIOptions()
|
|||
}
|
||||
});
|
||||
|
||||
// Play videos immediately (overrides theme setting).
|
||||
auto play_videos_immediately = std::make_shared<SwitchComponent>();
|
||||
play_videos_immediately->setState(Settings::getInstance()->getBool("PlayVideosImmediately"));
|
||||
s->addWithLabel("PLAY VIDEOS IMMEDIATELY (OVERRIDE THEME)", play_videos_immediately);
|
||||
s->addSaveFunc([play_videos_immediately, s] {
|
||||
if (Settings::getInstance()->getBool("PlayVideosImmediately") !=
|
||||
play_videos_immediately->getState()) {
|
||||
Settings::getInstance()->setBool("PlayVideosImmediately",
|
||||
play_videos_immediately->getState());
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
||||
// When the theme set entries are scrolled or selected, update the relevant rows.
|
||||
auto scrollThemeSetFunc = [=](const std::string& themeName, bool firstRun = false) {
|
||||
auto selectedSet = themeSets.find(themeName);
|
||||
|
|
|
@ -192,8 +192,6 @@ void Settings::setDefaults()
|
|||
mBoolMap["GamelistFilters"] = {true, true};
|
||||
mBoolMap["QuickSystemSelect"] = {true, true};
|
||||
mBoolMap["ShowHelpPrompts"] = {true, true};
|
||||
mBoolMap["PlayVideosImmediately"] = {false, false};
|
||||
mBoolMap["EnableMenuKidMode"] = {false, false};
|
||||
|
||||
// Sound settings.
|
||||
mIntMap["SoundVolumeNavigation"] = {70, 70};
|
||||
|
@ -243,6 +241,7 @@ void Settings::setDefaults()
|
|||
mBoolMap["DisableComposition"] = {true, true};
|
||||
#endif
|
||||
mBoolMap["DisplayGPUStatistics"] = {false, false};
|
||||
mBoolMap["EnableMenuKidMode"] = {false, false};
|
||||
// macOS requires root privileges to reboot and power off so it doesn't make much
|
||||
// sense to enable this setting and menu entry for that operating system.
|
||||
#if !defined(__APPLE__)
|
||||
|
|
Loading…
Reference in a new issue