Also update extender item borders correctly when items are removed from the layout.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875444
This commit is contained in:
Rob Scheepmaker 2008-10-24 13:20:49 +00:00
parent 241d38ad65
commit 415a1c213d

View File

@ -317,8 +317,8 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos)
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
{
attachedExtenderItems.removeOne(item);
updateBorders();
q->itemRemovedEvent(item);
updateBorders();
}
int ExtenderPrivate::insertIndexFromPos(const QPointF &pos) const