Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark-Willem Jansen <rawnar@users.sourceforge.net>2010-12-01 13:05:05 +0300
committerStefan Hacker <dd0t@users.sourceforge.net>2010-12-03 16:58:17 +0300
commitda83cddf8e04ea4d717da122ef03e82bf03ecdf9 (patch)
tree514a90a2ada626a4c356354187dd59b8b1490f45 /src/mumble/OverlayConfig.cpp
parentb8a2745ce7b42807991f227e7eac1f0304f150ec (diff)
Overlay: On windows sync the settings to registry when overlay config is changed
Diffstat (limited to 'src/mumble/OverlayConfig.cpp')
-rw-r--r--src/mumble/OverlayConfig.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mumble/OverlayConfig.cpp b/src/mumble/OverlayConfig.cpp
index c4ae120eb..2fc524363 100644
--- a/src/mumble/OverlayConfig.cpp
+++ b/src/mumble/OverlayConfig.cpp
@@ -330,6 +330,10 @@ void OverlayConfig::save() const {
g.qs->beginGroup(QLatin1String("overlay"));
s.os.save();
g.qs->endGroup();
+#ifdef Q_OS_WIN
+ // On MS windows force sync so the registry is updated.
+ g.qs->sync();
+#endif
}
void OverlayConfig::accept() const {