Don't crash if we can't load an applet.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691410
This commit is contained in:
Alex Merry 2007-07-23 15:59:10 +00:00
parent ac70498132
commit 4d8628230f

View File

@ -84,6 +84,7 @@ public:
{
if (!appletDescription.isValid()) {
applet->setFailedToLaunch(true);
return;
}
QString language = appletDescription.property("X-Plasma-Language").toString();