delete the widget first so that it gets a chance to clean up with the extenderitem it is in still around
svn path=/trunk/KDE/kdelibs/; revision=886236
This commit is contained in:
parent
8a68d06f0d
commit
ac412d787b
@ -756,6 +756,8 @@ ExtenderItemPrivate::ExtenderItemPrivate(ExtenderItem *extenderItem, Extender *h
|
||||
|
||||
ExtenderItemPrivate::~ExtenderItemPrivate()
|
||||
{
|
||||
delete widget;
|
||||
widget = 0;
|
||||
delete toplevel;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user