Commit c5309964 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Wizards: Do not list json wizards that go with plugins that are not loaded



This needs the patch that splits features and plugins in the json wizard
and makes sure that the requiredFeatures are ignored by the "All templates"
selector in the NewDialog while the "enabled" statement of the JSON
wizard still takes effect.

Change-Id: I76fd5d72a73af064cf5047a6a43aec6598f675bf
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent bcc3cc99
......@@ -255,6 +255,9 @@ QString IWizardFactory::runPath(const QString &defaultPath)
bool IWizardFactory::isAvailable(const QString &platformName) const
{
if (platformName.isEmpty())
return true;
return availableFeatures(platformName).contains(requiredFeatures());
}
......
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