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:
parent
241d38ad65
commit
415a1c213d
@ -317,8 +317,8 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos)
|
|||||||
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
|
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
|
||||||
{
|
{
|
||||||
attachedExtenderItems.removeOne(item);
|
attachedExtenderItems.removeOne(item);
|
||||||
updateBorders();
|
|
||||||
q->itemRemovedEvent(item);
|
q->itemRemovedEvent(item);
|
||||||
|
updateBorders();
|
||||||
}
|
}
|
||||||
|
|
||||||
int ExtenderPrivate::insertIndexFromPos(const QPointF &pos) const
|
int ExtenderPrivate::insertIndexFromPos(const QPointF &pos) const
|
||||||
|
Loading…
Reference in New Issue
Block a user