D24317: Delete pointless discardShape method calls

Vlad Zahorodnii <[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
  There's no point for calling discardShape from the destructor of a
  Scene::Window subclass because window quads cache will be destroyed
  automagically by QScopedPointer.

REPOSITORY
  R108 KWin

BRANCH
  dont-call-discard-shape

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

AFFECTED FILES
  plugins/scenes/qpainter/scene_qpainter.cpp
  plugins/scenes/xrender/scene_xrender.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, 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.