in horizontal and vertical form factors let the applets move even if
locked, otherwise the containment layout would be broken (perhaps would be better to check for a qgraphicslinearlayout or gridlayout parent? both solutions seems not too good) BUG:178211 svn path=/trunk/KDE/kdelibs/; revision=901826
This commit is contained in:
parent
dc76999e7e
commit
e3f1b2fda8
@ -1616,7 +1616,7 @@ QVariant Applet::itemChange(GraphicsItemChange change, const QVariant &value)
|
||||
}
|
||||
break;
|
||||
case ItemPositionChange:
|
||||
return immutability() == Mutable ? value : pos();
|
||||
return (immutability() == Mutable || formFactor() == Horizontal || formFactor() == Vertical) ? value : pos();
|
||||
break;
|
||||
case ItemTransformChange:
|
||||
return immutability() == Mutable ? value : transform();
|
||||
|
Loading…
Reference in New Issue
Block a user