Python: Use new plugin items setup pattern for PythonEditor

Change-Id: Ie8516960a106ddeff415b6412d9af66f7d2f0f36
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2024-01-15 16:31:41 +01:00
parent 1992efddfc
commit 5de41fb40d
3 changed files with 36 additions and 33 deletions

View File

@@ -40,7 +40,6 @@ QObject *pluginInstance()
class PythonPluginPrivate
{
public:
PythonEditorFactory editorFactory;
PythonOutputFormatterFactory outputFormatterFactory;
PythonRunConfigurationFactory runConfigFactory;
PySideBuildStepFactory buildStepFactory;
@@ -72,6 +71,8 @@ private:
{
d = new PythonPluginPrivate;
setupPythonEditorFactory(this);
KitManager::setIrrelevantAspects(KitManager::irrelevantAspects()
+ QSet<Id>{PythonKitAspect::id()});