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:
Tobias Hunger
2015-05-27 15:45:07 +02:00
parent bd40ef3659
commit f1f2475d3e
31 changed files with 43 additions and 29 deletions

View File

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