Diffusion KWin ed4a9d756aab

Clean up usage of m_client

Authored by gladhorn on Aug 11 2019, 6:25 PM.

Description

Clean up usage of m_client

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.

Reviewers: KWin, romangg

Reviewed By: KWin, romangg

Subscribers: romangg, zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D23067

Details

Committed
gladhornAug 11 2019, 7:08 PM
Reviewer
KWin
Differential Revision
D23067: Clean up usage of m_client
Parents
R108:969403b35fe5: Make iterating over Layer enum simple
Branches
Unknown
Tags
Unknown