aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprojectmanager
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-25 15:31:43 +0100
committerhjk <hjk@qt.io>2019-04-02 09:46:48 +0000
commit841bbfa7bf2575769d7dfec2d1f238cd65aacf5d (patch)
tree8dd8095ac57f9edbe7ffc81db33aa64aae44e1a4 /src/plugins/qmlprojectmanager
parent73fbaea03624f1ef05a576d19f66291cc92fbf3c (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/qmlprojectmanager')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
index b2079c9f31d..d20f4caa43a 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
+++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
@@ -44,7 +44,7 @@ class QmlProjectPluginPrivate
{
public:
QmlProjectRunConfigurationFactory runConfigFactory;
- SimpleRunWorkerFactory<QmlProjectRunConfiguration, SimpleTargetRunner>
+ SimpleRunWorkerFactory<SimpleTargetRunner, QmlProjectRunConfiguration>
runWorkerFactory{ProjectExplorer::Constants::NORMAL_RUN_MODE};
};