forked from qt-creator/qt-creator
TaskTree: Get rid of unneeded done handlers' arguments
Task-number: QTCREATORBUG-29834 Change-Id: I236dec27a292a1b006b7001d01ce620960380de9 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -250,13 +250,13 @@ void AttachCoreDialog::accepted()
|
||||
|
||||
const Group root = {
|
||||
parallel,
|
||||
AsyncTask<ResultType>{[=](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, this->coreFile());
|
||||
AsyncTask<ResultType>{[this, copyFileAsync](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, coreFile());
|
||||
},
|
||||
[=](const auto &task) { d->coreFileResult = task.result(); },
|
||||
CallDoneIf::Success},
|
||||
AsyncTask<ResultType>{[=](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, this->symbolFile());
|
||||
AsyncTask<ResultType>{[this, copyFileAsync](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, symbolFile());
|
||||
},
|
||||
[=](const auto &task) { d->symbolFileResult = task.result(); },
|
||||
CallDoneIf::Success}
|
||||
|
||||
Reference in New Issue
Block a user