From kde-commits Wed Aug 05 23:27:41 2009 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Wed, 05 Aug 2009 23:27:41 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/applets/tasks Message-Id: <1249514861.962687.20158.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=124951486802886 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 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();