[workspace] Use qDeleteAll

Rather than a foreach with questionable indentation

Differential Revision: https://phabricator.kde.org/D28334
master
Kai Uwe Broulik 2020-03-27 14:25:02 +01:00
parent bdd6882767
commit 5e8038a1a1
1 changed files with 1 additions and 2 deletions

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();