forked from qt-creator/qt-creator
JsonWizard: split plugins and features when considering enabled state
Now that we have the infrastructure to handle both separately it makes no more sense to merge them. Change-Id: Ia2694eef60c0fe17b025e4d6766c7a8f775513f5 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -326,7 +326,7 @@ FeatureSet IWizardFactory::pluginFeatures() const
|
||||
// Implicitly create a feature for each plugin loaded:
|
||||
foreach (ExtensionSystem::PluginSpec *s, ExtensionSystem::PluginManager::plugins()) {
|
||||
if (s->state() == ExtensionSystem::PluginSpec::Running)
|
||||
list.append(QString::fromLatin1("Plugin.") + s->name());
|
||||
list.append(s->name());
|
||||
}
|
||||
plugins = FeatureSet::fromStringList(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user