D17898: Cast to AbstractClient instead of Client in Toplevel::setReadyForPainting

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson added inline comments.

INLINE COMMENTS

> graesslin wrote in toplevel.cpp:265
> Is there any real advantage of qobject_cast?

Supposedly it's faster for QObjects.

Though not really enough that it'll make a noticeable difference, especially here.

REPOSITORY
  R108 KWin

BRANCH
  ready-for-painting-cast

REVISION DETAIL
  https://phabricator.kde.org/D17898

To: graesslin, #kwin, zzag
Cc: davidedmundson, zzag, kwin, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.