[workspace] Use qDeleteAll

Rather than a foreach with questionable indentation

Differential Revision: https://phabricator.kde.org/D28334
This commit is contained in:
Kai Uwe Broulik 2020-03-27 14:25:02 +01:00
parent bdd6882767
commit 5e8038a1a1

View file

@ -501,8 +501,7 @@ Workspace::~Workspace()
delete startup;
delete Placement::self();
delete client_keys_dialog;
foreach (SessionInfo * s, session)
delete s;
qDeleteAll(session);
// TODO: ungrabXServer();