RunControl: Drop IDevice * from doStart()

Use device set inside passed runnable instead.

Grep for all usages of RunControl::start().
If passed device wasn't nullptr, set this device
inside passed runnable. Otherwise ensure that
passed runnable contains device set to nullptr.

Change-Id: I06fd42a16246fa9fedd81eeb47481a217f887cb0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-02-23 16:58:20 +01:00
parent 3f259da6d5
commit f1e973de79
12 changed files with 32 additions and 25 deletions

View File

@@ -99,7 +99,7 @@ public:
CommandLine::Raw};
r.workingDirectory = target->activeBuildConfiguration()->buildDirectory();
r.environment = target->activeBuildConfiguration()->environment();
SimpleTargetRunner::doStart(r, {});
SimpleTargetRunner::doStart(r);
});
}
};