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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/netbook/containments/sal
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-12-14 21:50:45
Message-ID: 1260827445.634086.22586.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1062481 by mart:

some more controls on the icon to delete, and together r1062478 it should fix
BUG:218438


 M  +4 -0      stripwidget.cpp  


--- trunk/KDE/kdebase/workspace/plasma/netbook/containments/sal/stripwidget.cpp #1062480:1062481
@@ -158,6 +158,10 @@
 
 void StripWidget::remove(Plasma::IconWidget *favourite)
 {
+    if (!favourite || !m_favouritesIcons.contains(favourite)) {
+        return;
+    }
+
     Plasma::QueryMatch *match = m_favouritesIcons.value(favourite);
     m_favouritesMatches.removeOne(match);
     m_favouritesQueries.remove(match);
[prev in list] [next in list] [prev in thread] [next in thread] 

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