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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-08-05 23:27:41
Message-ID: 1249514861.962687.20158.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1007561 by aseigo:

fix cosmetic issue where closing items from the group popup would leave a "hole".
BUG:201763


 M  +9 -1      taskgroupitem.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/taskgroupitem.cpp \
#1007560:1007561 @@ -280,7 +280,6 @@
 
     data.setImage(m_group->icon());
 
-    int i = 0;
     QList<WId> windows;
 
     foreach (AbstractGroupableItem *item, m_group->members()) {
@@ -524,6 +523,15 @@
 
     if (m_tasksLayout) {
         m_tasksLayout->removeTaskItem(item);
+
+        if (m_offscreenWidget) {
+            m_offscreenWidget->adjustSize();
+        }
+
+        if (m_popupDialog && m_popupDialog->isVisible() && 
+            m_applet->containment() && m_applet->containment()->corona()) {
+            m_popupDialog->move(m_applet->containment()->corona()->popupPosition(this, \
m_popupDialog->size())); +        }
     }
 
     item->close();


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

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