be more lenient with the requirement for a service
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811335
This commit is contained in:
parent
26f7e83a53
commit
1ff027988b
@ -1414,8 +1414,7 @@ void Applet::Private::init()
|
|||||||
q->setFlag(QGraphicsItem::ItemIsFocusable, true);
|
q->setFlag(QGraphicsItem::ItemIsFocusable, true);
|
||||||
|
|
||||||
if (!appletDescription.isValid()) {
|
if (!appletDescription.isValid()) {
|
||||||
q->setFailedToLaunch(true, i18n("Invalid applet description"));
|
kDebug() << "Check your constructor! You probaly want to be passing a Service::Ptr or a QVariantList with a valid storageid as arg[0] in.";
|
||||||
kDebug() << "Check your constructor! You must be passing a Service::Ptr or a QVariantList args through!";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user