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:
parent
6a3240b051
commit
abf446a3f8
@ -894,7 +894,7 @@ ImmutabilityType Applet::immutability() const
|
|||||||
|
|
||||||
void Applet::setImmutability(const ImmutabilityType immutable)
|
void Applet::setImmutability(const ImmutabilityType immutable)
|
||||||
{
|
{
|
||||||
if (d->immutability == immutable) {
|
if (d->immutability == immutable || d->immutability == Plasma::SystemImmutable) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user