From kde-commits Tue Jan 11 02:55:55 2011 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Tue, 11 Jan 2011 02:55:55 +0000 To: kde-commits Subject: KDE/kdelibs/plasma/private Message-Id: <20110111025555.599B8AC8B2 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129471461204928 SVN commit 1213630 by aseigo: 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 M +1 -0 actionwidgetinterface_p.h --- trunk/KDE/kdelibs/plasma/private/actionwidgetinterface_p.h #1213629:1213630 @@ -39,6 +39,7 @@ virtual ~ActionWidgetInterface() { + setAction(0); } virtual void changed()