Notify about window decorations buttons order changes
Summary: This makes it possible to detect these changes via KConfigWatcher. This is needed for D25670 Reviewers: #kwin, ngraham, davidedmundson Reviewed By: #kwin, ngraham, davidedmundson Subscribers: ngraham, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D25695
This commit is contained in:
parent
297876e55e
commit
d3da912d72
1 changed files with 2 additions and 2 deletions
|
@ -202,8 +202,8 @@ void KCMKWinDecoration::save()
|
|||
config.writeEntry(s_configShowToolTips, m_currentSettings.showToolTips);
|
||||
config.writeEntry(s_configBorderSize, Utils::borderSizeToString(m_currentSettings.borderSize));
|
||||
config.writeEntry(s_configBorderSizeAuto, m_currentSettings.borderSizeAuto);
|
||||
config.writeEntry(s_configDecoButtonsOnLeft, Utils::buttonsToString(m_currentSettings.buttonsOnLeft));
|
||||
config.writeEntry(s_configDecoButtonsOnRight, Utils::buttonsToString(m_currentSettings.buttonsOnRight));
|
||||
config.writeEntry(s_configDecoButtonsOnLeft, Utils::buttonsToString(m_currentSettings.buttonsOnLeft), KConfigGroup::Notify);
|
||||
config.writeEntry(s_configDecoButtonsOnRight, Utils::buttonsToString(m_currentSettings.buttonsOnRight), KConfigGroup::Notify);
|
||||
config.sync();
|
||||
|
||||
m_savedSettings = m_currentSettings;
|
||||
|
|
Loading…
Reference in a new issue