mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Windows) Fixed a compile error
This commit is contained in:
parent
ef0b760f43
commit
31f287820a
|
@ -216,7 +216,6 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions()
|
|||
.string()};
|
||||
const std::string initValueMediaDir {
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir")};
|
||||
const bool multiLineMediaDir {false};
|
||||
auto updateValMediaDir = [s](const std::string& newVal) {
|
||||
Settings::getInstance()->setString("ScreensaverSlideshowCustomDir", newVal);
|
||||
s->setNeedsSaving();
|
||||
|
@ -228,15 +227,15 @@ void GuiScreensaverOptions::openSlideshowScreensaverOptions()
|
|||
mWindow->pushGui(new GuiTextEditKeyboardPopup(
|
||||
getHelpStyle(), s->getMenu().getPosition().y, titleCustomImageDir,
|
||||
Settings::getInstance()->getString("ScreensaverSlideshowCustomDir"),
|
||||
updateValMediaDir, multiLineMediaDir, "SAVE", "SAVE CHANGES?",
|
||||
defaultImageDirStaticText, defaultImageDirText, "load default directory"));
|
||||
updateValMediaDir, false, "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"));
|
||||
updateValMediaDir, false, "SAVE", "SAVE CHANGES?", defaultImageDirStaticText,
|
||||
defaultImageDirText, "load default directory"));
|
||||
}
|
||||
});
|
||||
s->addRow(rowCustomImageDir);
|
||||
|
|
Loading…
Reference in a new issue