permit locked containments to move, should fix a zui breakage

(ContainmentPrivate::positionContainments should always be permitted)

svn path=/trunk/KDE/kdelibs/; revision=930442
This commit is contained in:
Marco Martin 2009-02-23 13:48:04 +00:00
parent 9fd15b5e2f
commit 4b8bebf239

View File

@ -1803,7 +1803,7 @@ QVariant Applet::itemChange(GraphicsItemChange change, const QVariant &value)
}
break;
case ItemPositionChange:
return (immutability() == Mutable || formFactor() == Horizontal || formFactor() == Vertical) ? value : pos();
return (immutability() == Mutable || isContainment() || formFactor() == Horizontal || formFactor() == Vertical) ? value : pos();
break;
case ItemTransformChange:
return immutability() == Mutable ? value : transform();