D28330: Color icons in titlebar if possible
David Redondo
noreply at phabricator.kde.org
Fri Mar 27 15:11:58 GMT 2020
davidre added inline comments.
INLINE COMMENTS
> breezebutton.cpp:148
> + QPalette palette = decoration()->client().data()->palette();
> + palette.setColor(QPalette::Foreground, qobject_cast<Decoration*>(decoration())->fontColor());
> + KIconLoader::global()->setCustomPalette(palette);
I don't think it can fail. decoration() is a QPointer (https://api.kde.org/kdecoration/html/classKDecoration2_1_1DecorationButton.html) do you mean that with cross-cast?
REPOSITORY
R31 Breeze
BRANCH
icons (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D28330
To: davidre, #plasma, #vdg, ngraham
Cc: kossebau, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200327/df5a3a74/attachment-0001.html>
More information about the Plasma-devel
mailing list