D23067: Clean up usage of m_client

Vlad Zagorodniy noreply at phabricator.kde.org
Sat Aug 10 11:35:35 BST 2019


zzag added inline comments.

INLINE COMMENTS

> romangg wrote in useractions.cpp:137
> If we assert client in the beginning then cl must be non-null, right? Would make all the below checks on m_client superfluous as well though.

You're right. Passing nullptr for client doesn't make sense. This if statement can be dropped.

REPOSITORY
  R108 KWin

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

To: gladhorn, #kwin
Cc: romangg, zzag, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190810/95e2d414/attachment.html>


More information about the kwin mailing list