[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma/private
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-11 2:55:55
Message-ID: 20110111025555.599B8AC8B2 () svn ! kde ! org
[Download RAW message or body]

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()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic