D23744: Drop redundant Compositor::hasScene()

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

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

REPOSITORY
  R108 KWin

BRANCH
  drop-compositor-hasscene

REVISION DETAIL
  https://phabricator.kde.org/D23744

AFFECTED FILES
  composite.cpp
  composite.h
  dbusinterface.cpp
  platform.cpp
  workspace.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.