[Bug 157437] plasma crashed on closing an applet

Sebastian Sauer mail at dipe.org
Sun Feb 10 19:30:03 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157437         




------- Additional Comments From mail dipe org  2008-02-10 19:30 -------
So, maybe a fix may look like;

Index: containment.cpp
===================================================================
--- containment.cpp     (revision 773254)
+++ containment.cpp     (working copy)
 @ -819,7 +819,7  @
     // Otherwise we're watching something we shouldn't be...
     //kDebug() << "got sceneEvent";
     Q_ASSERT(applet!=0);
-    if (!d->applets.contains(applet)) {
+    if (!applet || !d->applets.contains(applet)) {
         return false;
     }

Though I've no idea why a (!d->applets.contains(NULL)) shouldn't work...


More information about the Panel-devel mailing list