From 683b00abcddd2741352f220ac6fff5f4d9d0cdb2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 16 Dec 2023 22:21:06 +0100 Subject: [PATCH] Removed an unnecessary lambda capture --- es-app/src/guis/GuiScreensaverOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/guis/GuiScreensaverOptions.cpp b/es-app/src/guis/GuiScreensaverOptions.cpp index 2b1d533bf..0d5bcac1e 100644 --- a/es-app/src/guis/GuiScreensaverOptions.cpp +++ b/es-app/src/guis/GuiScreensaverOptions.cpp @@ -217,7 +217,7 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions() const std::string initValueMediaDir { Settings::getInstance()->getString("ScreensaverSlideshowCustomDir")}; const bool multiLineMediaDir {false}; - auto updateValMediaDir = [this, s](const std::string& newVal) { + auto updateValMediaDir = [s](const std::string& newVal) { Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal); s->setNeedsSaving(); };