take corona immutability into consideration as well

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781758
This commit is contained in:
Aaron J. Seigo 2008-03-03 18:03:27 +00:00
parent 054f4bd2f9
commit 6fc81a860f

View File

@ -594,7 +594,8 @@ bool Applet::isImmutable() const
bool Applet::isKioskImmutable() const
{
return d->kioskImmutable;
Corona *c = dynamic_cast<Corona*>(scene());
return d->kioskImmutable || (c && c->isKioskImmutable());
}
void Applet::setImmutable(bool immutable)