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:
Aaron J. Seigo 2011-01-11 02:55:55 +00:00
parent 71d8ad6a41
commit 425b474390

View File

@ -39,6 +39,7 @@ public:
virtual ~ActionWidgetInterface()
{
setAction(0);
}
virtual void changed()