[FontAASettings] Use KSharedConfig
ClosedPublic

Authored by broulik on Oct 11 2019, 3:25 PM.

Details

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

  • 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

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Oct 11 2019, 3:25 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 11 2019, 3:25 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Oct 11 2019, 3:25 PM
davidedmundson accepted this revision.Oct 11 2019, 3:27 PM
This revision is now accepted and ready to land.Oct 11 2019, 3:27 PM
This revision was automatically updated to reflect the committed changes.