Delete pointless discardShape method calls
ClosedPublic

Authored by zzag on Sep 30 2019, 5:14 PM.

Details

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.

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