set immutability even if the applet fails to load
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692621
This commit is contained in:
parent
52514c1c35
commit
455f06eb8b
@ -87,6 +87,9 @@ public:
|
||||
|
||||
void init(Applet* applet)
|
||||
{
|
||||
applet->setImmutable(applet->globalConfig().isImmutable() ||
|
||||
applet->config().isImmutable());
|
||||
|
||||
if (!appletDescription.isValid()) {
|
||||
applet->setFailedToLaunch(true);
|
||||
return;
|
||||
@ -126,9 +129,6 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
applet->setImmutable(applet->globalConfig().isImmutable() ||
|
||||
applet->config().isImmutable());
|
||||
}
|
||||
|
||||
void paintBackground(QPainter* p, Applet* q)
|
||||
|
Loading…
Reference in New Issue
Block a user