Use qDeleteAll in destructor of Scene class
ClosedPublic

Authored by zzag on Jul 1 2018, 9:38 AM.

Details

Summary

qDeleteAll can be used to delete values in QMap or QHash. Please notice
that qDeleteAll calls delete only for values, not keys.

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.Jul 1 2018, 9:38 AM
Restricted Application added a project: KWin. · View Herald TranscriptJul 1 2018, 9:38 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Jul 1 2018, 9:38 AM
davidedmundson accepted this revision.Jul 1 2018, 11:38 AM
This revision is now accepted and ready to land.Jul 1 2018, 11:38 AM
This revision was automatically updated to reflect the committed changes.