Don't remove other applets in SystemTray::cleanupTask

Authored by davidedmundson on Apr 20 2017, 10:56 AM.

Description

Don't remove other applets in SystemTray::cleanupTask

Summary:
We can get into a state where we have applets with broken metadata.
(which is a different bug)

Someone clearly wrote this code to try and guard against accessing an
invalid metadata when checking names, but instead made it so that when
we try to remove a specific task in the system tray we accidentally also
remove up any of these applets as well, which doesn't make much sense.

CCBUG: 377050

Reviewers: Plasma, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D5422

Details

Committed
davidedmundsonApr 20 2017, 10:56 AM
Reviewer
mart
Differential Revision
D5422: Don't remove other applets in SystemTray::cleanupTask
Parents
R120:ecbcf6f83102: [Media Controller] Enforce PlainText format
Branches
Unknown
Tags
Unknown