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

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-11 20:55:20
Message-ID: 20110111205520.E6EC5AC8B3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1213849 by mart:

don't crash if the AppletsListWidget has just been puled out of the scene or still \
isn't (but setToolTipPosition has been called anyways due to the timerEvent) \
BUG:262798


 M  +4 -0      appletslist.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletslist.cpp \
#1213848:1213849 @@ -192,6 +192,10 @@
     toolTipMoveFrom = m_toolTip->pos();
 
     Plasma::Corona *corona = \
static_cast<Plasma::WidgetExplorer*>(parentItem())->corona(); +    //is the item \
still not in a scene? +    if (!corona) {
+        return;
+    }
 
     QGraphicsView *v = Plasma::viewFor(item);
 


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

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