[Scummvm-git-logs] scummvm master -> abd00eeefee1e011f4da3b4897d5eb112a7b623c
tsoliman
noreply at scummvm.org
Thu Aug 29 23:58:01 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
abd00eeefe GUI: Fix saving Global Options when cloud is disabled
Commit: abd00eeefee1e011f4da3b4897d5eb112a7b623c
https://github.com/scummvm/scummvm/commit/abd00eeefee1e011f4da3b4897d5eb112a7b623c
Author: Tarek Soliman (tsoliman at scummvm.org)
Date: 2024-08-29T18:55:39-05:00
Commit Message:
GUI: Fix saving Global Options when cloud is disabled
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index 3f0d8d37ecb..6de2cf21ab8 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2984,11 +2984,13 @@ void GlobalOptionsDialog::apply() {
#endif // DYNAMIC_MODULES
#ifdef USE_SDL_NET
+#ifdef USE_CLOUD
Common::Path rootPath(_rootPath->getLabel());
if (!rootPath.empty())
ConfMan.setPath("rootpath", rootPath, "cloud");
else
ConfMan.removeKey("rootpath", "cloud");
+#endif // USE_CLOUD
#endif // USE_SDL_NET
int oldGuiScale = ConfMan.getInt("gui_scale");
More information about the Scummvm-git-logs
mailing list