From 95ff4a2d49d897739f58e931454edf0272798038 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Thu, 1 Nov 2018 10:28:46 +0200 Subject: [PATCH] Flush kwinrulesrc in RuleBook::save Summary: a02797ca0608a302f466897d5bb5cd5cf4b9d13f missed sync call to actually write rules to disk. BUG: 399778 FIXED-IN: 5.14.3 Test Plan: Changed opacity in Special Window Settings. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16580 --- rules.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rules.cpp b/rules.cpp index bb0b33df56..dca6488317 100644 --- a/rules.cpp +++ b/rules.cpp @@ -1100,6 +1100,7 @@ void RuleBook::save() (*it)->write(cg); ++i; } + m_config->sync(); } void RuleBook::temporaryRulesMessage(const QString& message)