D24461: Fix coding style issues in Scene::paintSimpleScreen

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> fredrik wrote in scene.cpp:258
> The comment here is lost.

Oops, fixed.

> fredrik wrote in scene.cpp:276
> Why the change to qobject_cast<>?

qobject_cast is considered to be a better choice because it's faster (I didn't benchmark it though) and doesn't need RTTI. However, in this case it is a leftover. Fixed.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin
Cc: fredrik, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, 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.