From ed22fc7aa57dbd81077588a24c4244f10f8ca80f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 20 Aug 2023 15:35:12 +0200 Subject: [PATCH] Removed the annoying warning message when selecting the video screensaver from the UI settings menu --- es-app/src/guis/GuiScreensaverOptions.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/es-app/src/guis/GuiScreensaverOptions.cpp b/es-app/src/guis/GuiScreensaverOptions.cpp index 7a7c08298..30b4b8ead 100644 --- a/es-app/src/guis/GuiScreensaverOptions.cpp +++ b/es-app/src/guis/GuiScreensaverOptions.cpp @@ -50,16 +50,6 @@ GuiScreensaverOptions::GuiScreensaverOptions(const std::string& title) addSaveFunc([screensaverType, this] { if (screensaverType->getSelected() != 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()); setNeedsSaving(); }