the dptr will be deleted before ~QObject is run, so first disconnect
the QAction (if any) in the dptr dtor so that when the QAction is deleted, we don't end up calling into a deleted object BUG:262813 svn path=/trunk/KDE/kdelibs/; revision=1213630
This commit is contained in:
parent
71d8ad6a41
commit
425b474390
@ -39,6 +39,7 @@ public:
|
|||||||
|
|
||||||
virtual ~ActionWidgetInterface()
|
virtual ~ActionWidgetInterface()
|
||||||
{
|
{
|
||||||
|
setAction(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void changed()
|
virtual void changed()
|
||||||
|
Loading…
Reference in New Issue
Block a user