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.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp
index d20e32c4a73..246494455d9 100644
--- a/src/plugins/python/pythonplugin.cpp
+++ b/src/plugins/python/pythonplugin.cpp
@@ -20,8 +20,7 @@
using namespace ProjectExplorer;
-namespace Python {
-namespace Internal {
+namespace Python::Internal {
static PythonPlugin *m_instance = nullptr;
@@ -33,13 +32,7 @@ public:
PythonRunConfigurationFactory runConfigFactory;
PySideBuildStepFactory buildStepFactory;
PySideBuildConfigurationFactory buildConfigFactory;
-
- RunWorkerFactory runWorkerFactory{
- RunWorkerFactory::make<SimpleTargetRunner>(),
- {ProjectExplorer::Constants::NORMAL_RUN_MODE},
- {runConfigFactory.runConfigurationId()}
- };
-
+ SimpleTargetRunnerFactory runWorkerFactory{{runConfigFactory.runConfigurationId()}};
PythonSettings settings;
};
@@ -81,5 +74,4 @@ void PythonPlugin::extensionsInitialized()
TaskHub::addCategory(PythonErrorTaskCategory, "Python", true);
}
-} // namespace Internal
-} // namespace Python
+} // Python::Internal