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:
parent
6590d607fd
commit
b6d4b71680
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user