D23067: Clean up usage of m_client
Frederik Gladhorn
noreply at phabricator.kde.org
Sat Aug 10 09:43:45 BST 2019
gladhorn created this revision.
gladhorn added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
gladhorn requested review of this revision.
REVISION SUMMARY
We have a smart pointer, so be consistent in checking it.
Since there is an operator->, make the code easier to read by removing countless .data()->.
!m_client.isNull() can also be written as m_client since operator bool works.
REPOSITORY
R108 KWin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23067
AFFECTED FILES
useractions.cpp
To: gladhorn, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190810/6e6118bb/attachment.html>
More information about the kwin
mailing list