propagate immutability of a containment to the applets (not backporting, still to see if it's really correct and the only use case has a different partial fix in branch)

svn path=/trunk/KDE/kdelibs/; revision=1111042
This commit is contained in:
Marco Martin 2010-04-04 17:59:12 +00:00
parent 7e27da128e
commit 8a9603eec6

View File

@ -2179,6 +2179,7 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
// tell the applets too
foreach (Applet *a, applets) {
a->setImmutability(q->immutability());
a->updateConstraints(ImmutableConstraint);
}