mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Removed an unnecessary lambda capture
This commit is contained in:
parent
1faa5575d9
commit
683b00abcd
|
@ -217,7 +217,7 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions()
|
||||||
const std::string initValueMediaDir {
|
const std::string initValueMediaDir {
|
||||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir")};
|
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir")};
|
||||||
const bool multiLineMediaDir {false};
|
const bool multiLineMediaDir {false};
|
||||||
auto updateValMediaDir = [this, s](const std::string& newVal) {
|
auto updateValMediaDir = [s](const std::string& newVal) {
|
||||||
Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal);
|
Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal);
|
||||||
s->setNeedsSaving();
|
s->setNeedsSaving();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue