be more lenient with the requirement for a service

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811335
This commit is contained in:
Aaron J. Seigo 2008-05-22 18:43:34 +00:00
parent 26f7e83a53
commit 1ff027988b

View File

@ -1414,8 +1414,7 @@ void Applet::Private::init()
q->setFlag(QGraphicsItem::ItemIsFocusable, true);
if (!appletDescription.isValid()) {
q->setFailedToLaunch(true, i18n("Invalid applet description"));
kDebug() << "Check your constructor! You must be passing a Service::Ptr or a QVariantList args through!";
kDebug() << "Check your constructor! You probaly want to be passing a Service::Ptr or a QVariantList with a valid storageid as arg[0] in.";
return;
}