forked from qt-creator/qt-creator
TaskTree: Rename setupRoot into setRecipe
The passed Group root element is a recipe with a full description on how to execute the tasks and how to handle finished tasks. We have already virtual methods / setters called like: deployRecipe, refreshRecipe, reloadRecipe. So, the common "recipe" is kind of consistent. Fix typos in warnings. Addresses the 11th point in the task below. Task-number: QTCREATORBUG-28741 Change-Id: I1c80f4838b6a3e5ed113eaf8e42b59746d098efe Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -446,7 +446,7 @@ ShowController::ShowController(IDocument *document, const QString &id)
|
||||
tasks.append(ProcessTask(std::bind(setupFollow, _1, parents.at(i)),
|
||||
std::bind(onFollowDone, _1, i)));
|
||||
}
|
||||
taskTree.setupRoot(tasks);
|
||||
taskTree.setRecipe(tasks);
|
||||
};
|
||||
|
||||
const auto setupDiff = [this, id](Process &process) {
|
||||
|
||||
Reference in New Issue
Block a user