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

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

SVN commit 1213634 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  


--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletsfiltering.cpp \
#1213633:1213634 @@ -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