D23067: Clean up usage of m_client
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added a comment.
Besides braces this patch looks good.
INLINE COMMENTS
> useractions.cpp:151-152
> if (y == pos.top()) {
> - m_client.data()->blockActivityUpdates(true);
> + if (m_client)
> + m_client->blockActivityUpdates(true);
> if (needsPopup) {
Use curly braces even when the body of a conditional statement contains only one line.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D23067
To: gladhorn, #kwin
Cc: zzag, 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