Fix applets not being added on service restart

Authored by davidedmundson on Sep 9 2016, 11:26 AM.

Description

Fix applets not being added on service restart

Summary:
Applet::destroy doesn't delete the applet from Containment::applets in
the same event. Potentially a dbus activated service being restarted can
be added in this time, causing us to try adding a new applet with the
same ID before the first object is deleted.

Reviewers: Plasma, mart

Reviewed By: mart

Subscribers: mart, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonSep 9 2016, 2:30 PM
Reviewer
mart
Differential Revision
D2703: Fix applets not being added on service restart
Parents
R120:df4387a21f6e: Fix some status notifier items not appearing
Branches
Unknown
Tags
Unknown