[effects/slide] Delete redundant checks
ClosedPublic

Authored by zzag on Sep 23 2018, 12:06 PM.

Details

Summary

If isActive() returns false, neither paintScreen nor paintWindow nor
postPaintScreen will be called.

So, if (m_active) checks are redundant.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Sep 23 2018, 12:06 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 23 2018, 12:06 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Sep 23 2018, 12:06 PM
davidedmundson accepted this revision.Sep 26 2018, 4:10 PM
This revision is now accepted and ready to land.Sep 26 2018, 4:10 PM
This revision was automatically updated to reflect the committed changes.