since ExtenderItem relies on the Extender pointer it has, go through and delete all such items
svn path=/trunk/KDE/kdelibs/; revision=1107522
This commit is contained in:
parent
fb209051f2
commit
803bd9b463
@ -118,6 +118,11 @@ Extender::Extender(Applet *applet)
|
||||
|
||||
Extender::~Extender()
|
||||
{
|
||||
foreach (ExtenderItem *item, d->attachedExtenderItems) {
|
||||
disconnect(item, 0, this, 0);
|
||||
delete item;
|
||||
}
|
||||
|
||||
delete d;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user