forked from qt-creator/qt-creator
ProjectExplorer: Self-register JsonWizardPage related factories
Moves the using code closer to the common factory setup pattern. Change-Id: I2ee85b911d43b63730ff994a4b07568b23b14f00 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
||||
PySideBuildConfigurationFactory buildConfigFactory;
|
||||
SimpleTargetRunnerFactory runWorkerFactory{{runConfigFactory.runConfigurationId()}};
|
||||
PythonSettings settings;
|
||||
PythonWizardPageFactory pythonWizardPageFactory;
|
||||
};
|
||||
|
||||
PythonPlugin::PythonPlugin()
|
||||
@@ -61,7 +62,6 @@ void PythonPlugin::initialize()
|
||||
|
||||
ProjectManager::registerProjectType<PythonProject>(PythonMimeType);
|
||||
ProjectManager::registerProjectType<PythonProject>(PythonMimeTypeLegacy);
|
||||
JsonWizardFactory::registerPageFactory(new PythonWizardPageFactory);
|
||||
}
|
||||
|
||||
void PythonPlugin::extensionsInitialized()
|
||||
|
||||
Reference in New Issue
Block a user