Not being able to load an applet is a problem important enough to be a warning

This commit is contained in:
Aleix Pol 2014-01-03 19:40:15 +01:00
parent f9f89eda56
commit eb83537f63

View File

@ -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));
}