[workspace] Use qDeleteAll
Rather than a foreach with questionable indentation Differential Revision: https://phabricator.kde.org/D28334
This commit is contained in:
parent
bdd6882767
commit
5e8038a1a1
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue