From 455f06eb8b24f7c2422055283bbcf0fa18cbd187 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 26 Jul 2007 02:07:18 +0000 Subject: [PATCH] set immutability even if the applet fails to load svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692621 --- applet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applet.cpp b/applet.cpp index f34c88d26..c0293b0de 100644 --- a/applet.cpp +++ b/applet.cpp @@ -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)