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

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-11 3:12:45
Message-ID: 20110111031245.1A3B7AC8B2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1213635 by aseigo:

due to some issues with QGraphicsView, delete the menu later, which will mean
it gets deleted after we are deleted and avoids the whole "QGraphicsView can't
keep parent/child and proxy relationships straight during deletion of trees of
widgets" mess. a work-around for Qt, but i don't see this getting fixed soon
enough to make our lives happy.
CCBUG:262813


 M  +1 -1      appletsfiltering.cpp  


--- branches/KDE/4.6/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletsfiltering.cpp \
#1213634:1213635 @@ -59,7 +59,7 @@
 
 CategoriesWidget::~CategoriesWidget()
 {
-    delete m_menu;
+    m_menu->deleteLater();
 }
 
 void CategoriesWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)


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

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