take corona immutability into consideration as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781758
This commit is contained in:
parent
054f4bd2f9
commit
6fc81a860f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user