mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55: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 {
|
||||
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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue