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/nim/nimplugin.cpp | |
parent | 73fbaea03624f1ef05a576d19f66291cc92fbf3c (diff) | |
download | qt-creator-841bbfa7bf2575769d7dfec2d1f238cd65aacf5d.tar.gz |
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/nim/nimplugin.cpp')
-rw-r--r-- | src/plugins/nim/nimplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nim/nimplugin.cpp b/src/plugins/nim/nimplugin.cpp index 67b282e073..d9ff187179 100644 --- a/src/plugins/nim/nimplugin.cpp +++ b/src/plugins/nim/nimplugin.cpp @@ -67,7 +67,7 @@ public: NimEditorFactory editorFactory; NimBuildConfigurationFactory buildConfigFactory; NimRunConfigurationFactory runConfigFactory; - SimpleRunWorkerFactory<NimRunConfiguration> runWorkerFactory; + SimpleRunWorkerFactory<SimpleTargetRunner, NimRunConfiguration> runWorkerFactory; NimCompilerBuildStepFactory buildStepFactory; NimCompilerCleanStepFactory cleanStepFactory; NimCodeStyleSettingsPage codeStyleSettingsPage; |