<table><tr><td style="">progwolff created this revision.<br />progwolff added a reviewer: rkflx.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />progwolff requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12925">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The fonts kcm did only parse a local config file. Global and default settings were not recognized.<br />
With this patch, all global config files are parsed before the local file is parsed.<br />
This allows us to drop the "Vendor default" option.</p>

<p>This patch also fixes some changes not recognized (apply button disabled).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Delete ~/.config/fontconfig/fonts.conf.<br />
Start <tt style="background: #ebebeb; font-size: 13px;">kcmshell5 fonts</tt>. The default/global settings should be displayed. <br />
Change some settings. The apply button should be enabled.<br />
Save. A new config file should be created.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>fonts_kcm_globalConfigFiles (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12925">https://phabricator.kde.org/D12925</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/fonts/fonts.cpp<br />
kcms/fonts/fonts.h<br />
kcms/fonts/kxftconfig.cpp<br />
kcms/fonts/kxftconfig.h<br />
kcms/fonts/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>progwolff, rkflx<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>