Commit 6ae42771 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Style KCM] Sync KConfig before announcing change

Otherwise by the time applications receive the DBus signal, the config change has not been written to disk yet.

Differential Revision: https://phabricator.kde.org/D9891
parent 11a834b7
......@@ -374,6 +374,8 @@ void KCMStyle::save()
toolbarStyleGroup.writeEntry("ToolButtonStyleOtherToolbars",
toolbarButtonText(fineTuningUi.comboSecondaryToolbarIcons->currentIndex()));
_config.sync();
// Export the changes we made to qtrc, and update all qt-only
// applications on the fly, ensuring that we still follow the user's
// export fonts/colors settings.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment