TaskTree: Merge DynamicSetup with OnGroupSetup

Don't define 2 separate group setup items. Make OnGroupSetup
be able to handle also dynamic setup - like it's done with
CustomTask's setup handler.

Change-Id: I43e135f268ea96419b44ef5a4325707a124b4921
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-01-20 17:05:33 +01:00
parent 105fc92e19
commit 817553f3e5
5 changed files with 34 additions and 29 deletions

View File

@@ -184,7 +184,7 @@ TaskItem clangToolTask(const AnalyzeInputData &input,
const Group group {
Storage(storage),
DynamicSetup(onGroupSetup),
OnGroupSetup(onGroupSetup),
Group {
optional,
Process(onProcessSetup, onProcessDone, onProcessError)