Don't warn for invalid plugin metata
Summary: See explanation in https://bugs.kde.org/show_bug.cgi?id=412464 BUG: 412464 FIXED-IN: 5.67 Test Plan: restart plasmashell, see way less useless warning spam Reviewers: #plasma, mart, apol Reviewed By: apol Subscribers: apol, alex, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D27080
This commit is contained in:
parent
0c897d8048
commit
b76b908e10
@ -861,7 +861,7 @@ QVector<KPluginMetaData> PluginLoaderPrivate::Cache::findPluginsById(const QStri
|
||||
auto insertIntoCache = [this](const QString &pluginPath) {
|
||||
KPluginMetaData metadata(pluginPath);
|
||||
if (!metadata.isValid()) {
|
||||
qCWarning(LOG_PLASMA) << "invalid metadata" << pluginPath;
|
||||
qCDebug(LOG_PLASMA) << "invalid metadata" << pluginPath;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user