D28128: Add force save behavior to KEntryMap

Benjamin Port noreply at phabricator.kde.org
Wed Mar 18 14:49:29 GMT 2020


bport created this revision.
bport added reviewers: ervin, dfaure, meven, crossi, hchain.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
bport requested review of this revision.

REVISION SUMMARY
  Fix the following bug, if an entry is set on HOME/.config/kdeglobals and on a specific config file like kcmfonts
  When you hit restore defaults button and apply, value will be not wrote on the specific file, but then the value is the one from kdeglobals
  This patch ensure we write the key to the specific configuration file on those case with an empty value. KConfig will take default value automatically

TEST PLAN
  Added a test to ensure flag is working
  Tested using some KCM to ensure all is working fine

REPOSITORY
  R237 KConfig

REVISION DETAIL
  https://phabricator.kde.org/D28128

AFFECTED FILES
  autotests/kentrymaptest.cpp
  autotests/kentrymaptest.h
  src/core/kconfigdata.cpp
  src/core/kconfigdata.h
  src/core/kconfigini.cpp

To: bport, ervin, dfaure, meven, crossi, hchain
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200318/6cbab9b8/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list