broulik created this revision. broulik added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY This way we write to the same shared config instance as e.g. krdb and when we `sync()` it then also reads the current values. TEST PLAN Alternative, probably better approach to D24561 <https://phabricator.kde.org/D24561> - Verified that it reverts to default anti alias setting when the key isnt in fonts/config.xml, and that it writes it when present - Verified that changing font hinting has krdb sync the correct current value to xrdb REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24562 AFFECTED FILES kcms/fonts/fonts.cpp To: broulik, #plasma Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart