we enforce immutability in other ways already, try not to get in the way of programmatic manipulation (versus user manipulation) of applets

svn path=/trunk/KDE/kdelibs/; revision=1177864
This commit is contained in:
Aaron J. Seigo 2010-09-21 14:26:47 +00:00
parent 6590d607fd
commit b6d4b71680

View File

@ -2315,12 +2315,6 @@ QVariant Applet::itemChange(GraphicsItemChange change, const QVariant &value)
}
}
break;
case ItemPositionChange:
return (immutability() == Mutable || isContainment() || formFactor() == Horizontal || formFactor() == Vertical || (parentLayoutItem() && parentLayoutItem()->isLayout()) || !d->started) ? value : pos();
break;
case ItemTransformChange:
return immutability() == Mutable ? value : transform();
break;
case ItemPositionHasChanged:
emit geometryChanged();
// fall through!