diff options
author | hjk <hjk@qt.io> | 2019-03-25 15:31:43 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-04-02 09:46:48 +0000 |
commit | 841bbfa7bf2575769d7dfec2d1f238cd65aacf5d (patch) | |
tree | 8dd8095ac57f9edbe7ffc81db33aa64aae44e1a4 /src/plugins/pythoneditor | |
parent | 73fbaea03624f1ef05a576d19f66291cc92fbf3c (diff) |
ProjectExplorer: Switch order of template parameters
... of SimpleRunWorkerFactory.
This requires being explicit about the SimpleTargetRunner worker
default, but makes the template re-usable for current users of
RunWorker::registerWorker() which I would like to phase out now,
for less variations in the RunWorkerFactory setup.
Change-Id: I32638437e5bb29f143650f5fde706711ab25accf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp index 2d21a073c88..a486fb837e2 100644 --- a/src/plugins/pythoneditor/pythoneditorplugin.cpp +++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp @@ -722,7 +722,7 @@ class PythonEditorPluginPrivate public: PythonEditorFactory editorFactory; PythonRunConfigurationFactory runConfigFactory; - SimpleRunWorkerFactory<PythonRunConfiguration> runWorkerFactory; + SimpleRunWorkerFactory<SimpleTargetRunner, PythonRunConfiguration> runWorkerFactory; }; PythonEditorPlugin::~PythonEditorPlugin() |