D17907: [KWidgetsAddons] Do not use light font styles for headings (3/3)
Christoph Feck
noreply at phabricator.kde.org
Tue Jan 1 23:57:08 GMT 2019
cfeck added inline comments.
INLINE COMMENTS
> ktitlewidget.cpp:242
> d->textLabel->setStyleSheet(d->textStyleSheet());
> - //Qt stylesheet doesn't support lighter font-weight
> - QFont font(d->textLabel->font());
> - if (d->level <= 4) {
> - font.setWeight(QFont::Light);
> - font.setStyleName(QStringLiteral("Light"));
> - } else {
> - font.setWeight(QFont::Normal);
> - font.setStyleName(QStringLiteral("Regular"));
> - }
> +
> }
Remove empty line before final `}`
REPOSITORY
R236 KWidgetsAddons
BRANCH
no-light-headings (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D17907
To: rooty, ngraham, #frameworks, #vdg, #plasma
Cc: cfeck, filipf, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190101/abacd8a9/attachment.html>
More information about the Kde-frameworks-devel
mailing list