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>
This commit is contained in:
hjk
2019-03-25 15:31:43 +01:00
parent 73fbaea036
commit 841bbfa7bf
9 changed files with 13 additions and 12 deletions

View File

@@ -151,12 +151,12 @@ public:
AndroidManifestEditorFactory manifestEditorFactory;
AndroidRunConfigurationFactory runConfigFactory;
SimpleRunWorkerFactory<AndroidRunConfiguration, AndroidRunSupport> runWorkerFactory;
SimpleRunWorkerFactory<AndroidRunConfiguration, AndroidDebugSupport>
SimpleRunWorkerFactory<AndroidRunSupport, AndroidRunConfiguration> runWorkerFactory;
SimpleRunWorkerFactory<AndroidDebugSupport, AndroidRunConfiguration>
debugWorkerFactory{DEBUG_RUN_MODE};
SimpleRunWorkerFactory<AndroidRunConfiguration, AndroidQmlToolingSupport>
SimpleRunWorkerFactory<AndroidQmlToolingSupport, AndroidRunConfiguration>
profilerWorkerFactory{QML_PROFILER_RUN_MODE};
SimpleRunWorkerFactory<AndroidRunConfiguration, AndroidQmlToolingSupport>
SimpleRunWorkerFactory<AndroidQmlToolingSupport, AndroidRunConfiguration>
qmlPreviewWorkerFactory{QML_PREVIEW_RUN_MODE};
QmlPreviewRunWorkerFactory qmlPreviewWorkerFactory2;