D6544: Don't draw focus line on selected list item
Hugo Pereira Da Costa
noreply at phabricator.kde.org
Fri Jul 7 10:59:27 UTC 2017
hpereiradacosta accepted this revision.
hpereiradacosta added inline comments.
This revision is now accepted and ready to land.
INLINE COMMENTS
> broulik wrote in breezestyle.cpp:3082
> From what I can tell the difference is negligible. `qobject_cast` goes through `QMetaObject::cast` which then calls `inherits` internally, so I'd say `inherits` is the better choice.
>
> I didn't benchmark, though. I just followed what the rest of the code around it was doing (`inherits`)
Code uses both actually (usually qobject_cast for "public" classes, from Qt, and inherits for "private" classes, or kde).
In any case, I trust your investigation :)
REPOSITORY
R31 Breeze
REVISION DETAIL
https://phabricator.kde.org/D6544
To: broulik, #plasma, hpereiradacosta, fvogt
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170707/79daa9d5/attachment.html>
More information about the Plasma-devel
mailing list