mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Removed the annoying warning message when selecting the video screensaver from the UI settings menu
This commit is contained in:
parent
912c8bb75a
commit
ed22fc7aa5
|
@ -50,16 +50,6 @@ GuiScreensaverOptions::GuiScreensaverOptions(const std::string& title)
|
||||||
addSaveFunc([screensaverType, this] {
|
addSaveFunc([screensaverType, this] {
|
||||||
if (screensaverType->getSelected() !=
|
if (screensaverType->getSelected() !=
|
||||||
Settings::getInstance()->getString("ScreensaverType")) {
|
Settings::getInstance()->getString("ScreensaverType")) {
|
||||||
if (screensaverType->getSelected() == "video") {
|
|
||||||
// If before it wasn't risky but now there's a risk of problems, show warning.
|
|
||||||
mWindow->pushGui(new GuiMsgBox(
|
|
||||||
getHelpStyle(),
|
|
||||||
"THE 'VIDEO' SCREENSAVER SHOWS\n"
|
|
||||||
"VIDEOS FROM YOUR GAMELISTS\n\n"
|
|
||||||
"IF YOU DO NOT HAVE ANY VIDEOS, THE\n"
|
|
||||||
"SCREENSAVER WILL DEFAULT TO 'DIM'",
|
|
||||||
"OK", [] { return; }, "", nullptr, "", nullptr));
|
|
||||||
}
|
|
||||||
Settings::getInstance()->setString("ScreensaverType", screensaverType->getSelected());
|
Settings::getInstance()->setString("ScreensaverType", screensaverType->getSelected());
|
||||||
setNeedsSaving();
|
setNeedsSaving();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue