Review Request 128703: [kcm_mouse] Sync KDE4 config after writing the KF5 settings, not before

Wolfgang Bauer wbauer at tmo.at
Wed Aug 17 17:56:15 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128703/
-----------------------------------------------------------

(Updated Aug. 17, 2016, 7:56 p.m.)


Review request for Plasma.


Changes
-------

Fix kcminputrc synchronization too.


Summary (updated)
-----------------

[kcm_mouse] Sync KDE4 config after writing the KF5 settings, not before


Bugs: 367074
    https://bugs.kde.org/show_bug.cgi?id=367074


Repository: plasma-desktop


Description (updated)
-------

Kdelibs4SharedConfig::syncConfigGroup() reads the settings from the corresponding KF5 config files.
If we don't write them before, it will use the previous settings.

Also fix Kdelibs4SharedConfig::syncConfigGroup() to read the settings from the passed config file instead of always kdeglobals.


Diffs (updated)
-----

  kcms/input/mouse.cpp 3dbda19 
  kcms/migrationlib/kdelibs4config.h a2f4139 

Diff: https://git.reviewboard.kde.org/r/128703/diff/


Testing (updated)
-------

Change between single-click and double-click (or some other setting like right-handed/left-handed) and apply.
The KDE4 settings are written correctly now, they are the same as for KF5.

Before, the old settings (before clicking Apply) were saved to KDE4, the Mouse settings in kcminputrc were not written at all.


Thanks,

Wolfgang Bauer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160817/5268cb7a/attachment-0001.html>


More information about the Plasma-devel mailing list