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:
@@ -257,7 +257,7 @@ void AttachCoreDialog::accepted()
|
||||
[=](const auto &task) { d->symbolFileResult = task.result(); }},
|
||||
};
|
||||
|
||||
d->taskTree.setupRoot(root);
|
||||
d->taskTree.setRecipe(root);
|
||||
d->taskTree.start();
|
||||
|
||||
d->progressLabel->setText(Tr::tr("Copying files to device..."));
|
||||
|
||||
Reference in New Issue
Block a user