make items movable even on startup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679835
This commit is contained in:
parent
8c8012c1ce
commit
877f17a33d
@ -171,7 +171,7 @@ void Applet::setImmutable(bool immutable)
|
||||
QGraphicsItem::GraphicsItemFlags f = flags();
|
||||
if (immutable) {
|
||||
f ^= QGraphicsItem::ItemIsMovable;
|
||||
} else if (scene() && !static_cast<Corona*>(scene())->immutable()) {
|
||||
} else if (!scene() || !static_cast<Corona*>(scene())->immutable()) {
|
||||
f |= QGraphicsItem::ItemIsMovable;
|
||||
}
|
||||
setFlags(f);
|
||||
|
Loading…
Reference in New Issue
Block a user