[workspace] Use qDeleteAll
Rather than a foreach with questionable indentation
Differential Revision: https://phabricator.kde.org/D28334