Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1bfd5b8c authored by Volker Krause's avatar Volker Krause

Remove no longer valid warnings

Plugins only implementing rendering but not processing are perfectly
valid.
parent 2384b7a0
......@@ -159,14 +159,11 @@ void BodyPartFormatterFactory::loadPlugins()
QPluginLoader loader(path);
const auto formatterData = loader.metaData().value(QLatin1String("MetaData")).toObject().value(QLatin1String("formatter")).toArray();
if (formatterData.isEmpty()) {
qCWarning(MIMETREEPARSER_LOG) << "Plugin" << path << "has no meta data.";
return;
}
auto plugin = qobject_cast<MimeTreeParser::Interface::BodyPartFormatterPlugin*>(loader.instance());
if (!plugin) {
qCWarning(MIMETREEPARSER_LOG) << "BodyPartFormatterFactory: plugin" << path
<< "is not valid!";
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment