Drop redundant Compositor::hasScene()
ClosedPublic

Authored by zzag on Sep 5 2019, 4:43 PM.

Details

Reviewers
None
Group Reviewers
KWin
Commits
R108:96ac6a506bbe: Drop redundant Compositor::hasScene()
Summary

Compositor::hasScene() is redundant. Depending on use case, it can be
replaced by checking either m_state or Compositor::scene().

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 5 2019, 4:43 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 5 2019, 4:43 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Sep 5 2019, 4:43 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 7 2019, 7:19 AM
This revision was automatically updated to reflect the committed changes.