From ea6f2caf919e5dfc22a52cd98d3d7fa1aa2dc881 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 16 Dec 2023 22:27:17 +0100 Subject: [PATCH] Small code formatting change --- es-app/src/guis/GuiScreensaverOptions.cpp | 36 +++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/es-app/src/guis/GuiScreensaverOptions.cpp b/es-app/src/guis/GuiScreensaverOptions.cpp index ca06a827d..d7280129e 100644 --- a/es-app/src/guis/GuiScreensaverOptions.cpp +++ b/es-app/src/guis/GuiScreensaverOptions.cpp @@ -221,24 +221,24 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions() Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal); s->setNeedsSaving(); }; - rowCustomImageDir.makeAcceptInputHandler( - [this, s, titleCustomImageDir, defaultImageDirStaticText, defaultImageDirText, - initValueMediaDir, updateValMediaDir] { - if (Settings::getInstance()->getBool("VirtualKeyboard")) { - mWindow->pushGui(new GuiTextEditKeyboardPopup( - getHelpStyle(), s->getMenu().getPosition().y, titleCustomImageDir, - Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"), - updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?", - defaultImageDirStaticText, defaultImageDirText, "load default directory")); - } - else { - mWindow->pushGui(new GuiTextEditPopup( - getHelpStyle(), titleCustomImageDir, - Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"), - updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?", - defaultImageDirStaticText, defaultImageDirText, "load default directory")); - } - }); + rowCustomImageDir.makeAcceptInputHandler([this, s, titleCustomImageDir, + defaultImageDirStaticText, defaultImageDirText, + initValueMediaDir, updateValMediaDir] { + if (Settings::getInstance()->getBool("VirtualKeyboard")) { + mWindow->pushGui(new GuiTextEditKeyboardPopup( + getHelpStyle(), s->getMenu().getPosition().y, titleCustomImageDir, + Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"), + updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?", + defaultImageDirStaticText, defaultImageDirText, "load default directory")); + } + else { + mWindow->pushGui(new GuiTextEditPopup( + getHelpStyle(), titleCustomImageDir, + Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"), + updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?", + defaultImageDirStaticText, defaultImageDirText, "load default directory")); + } + }); s->addRow(rowCustomImageDir); s->setSize(mSize);