Not being able to load an applet is a problem important enough to be a warning
This commit is contained in:
parent
f9f89eda56
commit
eb83537f63
@ -172,9 +172,7 @@ Applet *ContainmentPrivate::createApplet(const QString &name, const QVariantList
|
||||
Applet *applet = PluginLoader::self()->loadApplet(name, id, args);
|
||||
|
||||
if (!applet) {
|
||||
#ifndef NDEBUG
|
||||
// qDebug() << "Applet" << name << "could not be loaded.";
|
||||
#endif
|
||||
qWarning() << "Applet" << name << "could not be loaded.";
|
||||
applet = new Applet(0, QString(), id);
|
||||
applet->setLaunchErrorMessage(i18n("Could not find requested component: %1", name));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user