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

@@ -469,7 +469,7 @@ ShowController::ShowController(IDocument *document, const QString &id)
Group {
parallel,
optional,
DynamicSetup(desciptionDetailsSetup),
OnGroupSetup(desciptionDetailsSetup),
Process(setupBranches, onBranchesDone, onBranchesError),
Process(setupPrecedes, onPrecedesDone, onPrecedesError),
Tree(setupFollows)