forked from qt-creator/qt-creator
Revert "ExtensionSystem: Improve warnings"
This reverts commit f5e9ae47b3
.
Reason for revert: Missing previous commit
Change-Id: Ia02f3b3e428eeb192c8d111111bfbd6218db79ea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1410,15 +1410,7 @@ void PluginManagerPrivate::loadPlugins()
|
|||||||
|
|
||||||
void PluginManagerPrivate::loadPluginsAtRuntime(const QSet<PluginSpec *> &plugins)
|
void PluginManagerPrivate::loadPluginsAtRuntime(const QSet<PluginSpec *> &plugins)
|
||||||
{
|
{
|
||||||
const bool allSoftloadable = allOf(plugins, &PluginSpec::isSoftLoadable);
|
QTC_CHECK(allOf(plugins, [](PluginSpec *spec) { return spec->isSoftLoadable(); }));
|
||||||
if (!allSoftloadable) {
|
|
||||||
const QStringList notSoftLoadablePlugins = Utils::transform<QStringList>(
|
|
||||||
Utils::filtered(plugins, std::not_fn(&PluginSpec::isSoftLoadable)),
|
|
||||||
&PluginSpec::displayName);
|
|
||||||
qWarning().noquote()
|
|
||||||
<< "PluginManagerPrivate::loadPluginsAtRuntime(): trying to load non-softloadable"
|
|
||||||
<< "plugin(s):" << notSoftLoadablePlugins.join(", ");
|
|
||||||
}
|
|
||||||
|
|
||||||
// load the plugins and their dependencies (if possible) ordered by dependency
|
// load the plugins and their dependencies (if possible) ordered by dependency
|
||||||
const QList<PluginSpec *> queue = filtered(loadQueue(), [&plugins](PluginSpec *spec) {
|
const QList<PluginSpec *> queue = filtered(loadQueue(), [&plugins](PluginSpec *spec) {
|
||||||
|
Reference in New Issue
Block a user