aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2025-06-27 08:26:18 +0200
committerJarek Kobus <[email protected]>2025-07-02 07:33:39 +0000
commitbf30c4e8d954f209c612db737ce28fd1eaea8f61 (patch)
tree1f1beefb74ceca14a01cea932b3390269693943b
parent60bfcb35776374d7b84fcaff8c55698dbc332682 (diff)
RunControl: Get rid of createWorker()HEADmaster
-rw-r--r--src/plugins/projectexplorer/runcontrol.cpp10
-rw-r--r--src/plugins/projectexplorer/runcontrol.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/plugins/projectexplorer/runcontrol.cpp b/src/plugins/projectexplorer/runcontrol.cpp
index c006a79b418..933df94d0ef 100644
--- a/src/plugins/projectexplorer/runcontrol.cpp
+++ b/src/plugins/projectexplorer/runcontrol.cpp
@@ -487,16 +487,6 @@ void RunControl::forceStop()
}
}
-RunWorker *RunControl::createWorker(Id runMode)
-{
- const Id deviceType = RunDeviceTypeKitAspect::deviceTypeId(d->kit);
- for (RunWorkerFactory *factory : std::as_const(g_runWorkerFactories)) {
- if (factory->canCreate(runMode, deviceType, d->runConfigId))
- return factory->create(this);
- }
- return nullptr;
-}
-
Group RunControl::createRecipe(Id runMode)
{
const Id deviceType = RunDeviceTypeKitAspect::deviceTypeId(d->kit);
diff --git a/src/plugins/projectexplorer/runcontrol.h b/src/plugins/projectexplorer/runcontrol.h
index 04e3a9749b6..14defffa095 100644
--- a/src/plugins/projectexplorer/runcontrol.h
+++ b/src/plugins/projectexplorer/runcontrol.h
@@ -197,7 +197,6 @@ public:
static void provideAskPassEntry(Utils::Environment &env);
- RunWorker *createWorker(Utils::Id runMode);
Tasking::Group createRecipe(Utils::Id runMode);
bool createMainWorker();