Parse global config files. Remove 'Vendor default' option. Fix changes not…

Authored by progwolff on May 22 2019, 4:01 PM.

Description

Parse global config files. Remove 'Vendor default' option. Fix changes not recognized.

The fonts kcm did only parse a local config file. Global and default settings were not recognized.
With this patch, all global config files are parsed before the local file is parsed.
This allows us to drop the "Vendor default" option.

This patch also fixes some changes not recognized (apply button disabled).

CCBUG: 386566

Test Plan:

Delete ~/.config/fontconfig/fonts.conf and ~/.config/kcmfonts .
Run kcmshell5 fonts. The default/global settings should be displayed.
Change some settings. The apply button should be enabled.
Save. A new config file should be created.

Follow up of the D12925

Details

Committed
bshahMay 27 2019, 9:06 AM
Parents
R119:8ecde86acafa: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown