D24317: Delete pointless discardShape method calls

Vlad Zahorodnii noreply at phabricator.kde.org
Mon Sep 30 18:14:57 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190930/6c059783/attachment.html>


More information about the kwin mailing list