ensure everything has been cleaned up when an extender item dies
BUG:257658 svn path=/trunk/KDE/kdelibs/; revision=1204476
This commit is contained in:
parent
38e64220da
commit
adb48ea807
@ -861,6 +861,10 @@ void ExtenderPrivate::extenderItemDestroyed(Plasma::ExtenderItem *item)
|
||||
{
|
||||
if (item && attachedExtenderItems.contains(item)) {
|
||||
removeExtenderItem(item);
|
||||
} else if (pendingItems.contains(item)) {
|
||||
pendingItems.remove(item);
|
||||
} else {
|
||||
attachedExtenderItems.removeAll(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user