Also specify a default StyleName for fonts

Authored by fvogt on Aug 6 2017, 9:57 AM.



When saving, kcm_fonts adds the default selected StyleName,
so it needs to specified here as well to avoid mismatches.

BUG: 383191

Test Plan

Ran pkcon install with no kdeglobals.
Without this change: Bold title in the auth dialog
With this change: Normal title in the auth dialog

Diff Detail

R135 Integration for Qt applications in Plasma
No Linters Available
No Unit Test Coverage
fvogt created this revision.Aug 6 2017, 9:57 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 6 2017, 9:57 AM
davidedmundson accepted this revision.Aug 6 2017, 11:12 AM
This revision is now accepted and ready to land.Aug 6 2017, 11:12 AM
cfeck added a subscriber: cfeck.Aug 6 2017, 11:12 AM

Note that saving the style name is a bug, see

fvogt added a comment.Aug 6 2017, 11:35 AM
In D7160#132870, @cfeck wrote:

Note that saving the style name is a bug, see

While I'm not 100% sure that is true as that's how the user selects the font in kcm_fonts, I still think this patch is
by itself an improvement as the stylenames are provided by the font creators to ship predefined metrics for aesthetics.
Possibly related:

So still ok to land?