aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
-rw-r--r--src/plugins/python/pythonplugin.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp
index 8410d31f9fb..60849b3158d 100644
--- a/src/plugins/python/pythonplugin.cpp
+++ b/src/plugins/python/pythonplugin.cpp
@@ -40,13 +40,6 @@ QObject *pluginInstance()
return m_instance;
}
-class PythonPluginPrivate
-{
-public:
- PythonSettings settings;
- PythonWizardPageFactory pythonWizardPageFactory;
-};
-
class PythonPlugin final : public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -61,14 +54,11 @@ public:
~PythonPlugin() final
{
m_instance = nullptr;
- delete d;
}
private:
void initialize() final
{
- d = new PythonPluginPrivate;
-
setupPythonEditorFactory(this);
setupPySideBuildStep();
@@ -79,6 +69,9 @@ private:
setupPythonDebugWorker();
setupPythonOutputParser();
+ setupPythonSettings(this);
+ setupPythonWizard();
+
KitManager::setIrrelevantAspects(KitManager::irrelevantAspects()
+ QSet<Id>{PythonKitAspect::id()});
@@ -98,8 +91,6 @@ private:
Tr::tr("Issues parsed from Python runtime output."),
true});
}
-
- PythonPluginPrivate *d = nullptr;
};
} // Python::Internal