refuse to downgrade immutability from systemimmutable here as well, just in case somewhere in applet a check will be done against d->immutability instead of immutability()

svn path=/trunk/KDE/kdelibs/; revision=1120663
This commit is contained in:
Marco Martin 2010-04-29 16:00:46 +00:00
parent 6a3240b051
commit abf446a3f8

View File

@ -894,7 +894,7 @@ ImmutabilityType Applet::immutability() const
void Applet::setImmutability(const ImmutabilityType immutable)
{
if (d->immutability == immutable) {
if (d->immutability == immutable || d->immutability == Plasma::SystemImmutable) {
return;
}