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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-06-23 20:37:20
Message-ID: 1245789440.634642.945.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 985976 by mart:

it appears the item isn't always valid
(probably still not enough to fix)
CCBUG:197664


 M  +1 -1      taskitemlayout.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskitemlayout.cpp #985975:985976
@@ -149,7 +149,7 @@
             continue;
         }
 
-        if (item->abstractItem()->isGroupItem()) {
+        if (item->abstractItem() && item->abstractItem()->isGroupItem()) {
             TaskGroupItem *group = static_cast<TaskGroupItem*>(item);
             if (!group->collapsed()) {
                 TaskItemLayout *layout = dynamic_cast<TaskItemLayout*>(group->tasksLayout());
[prev in list] [next in list] [prev in thread] [next in thread] 

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