Overlay: On windows sync the settings to registry when overlay config is changed

This commit is contained in:
Mark-Willem Jansen 2010-12-01 11:05:05 +01:00 committed by Stefan Hacker
parent b8a2745ce7
commit da83cddf8e

View File

@ -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 {