forked from qt-creator/qt-creator
TaskTree: Make it possible to invoke done handler only with DoneResult
Remove unused "const Task &" argument from done handlers. Task-number: QTCREATORBUG-29834 Change-Id: I0e69c1eba88d9fdb78de7ba1705ff3916999dc89 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -253,12 +253,12 @@ void AttachCoreDialog::accepted()
|
||||
AsyncTask<ResultType>{[this, copyFileAsync](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, coreFile());
|
||||
},
|
||||
[=](const auto &task) { d->coreFileResult = task.result(); },
|
||||
[=](const Async<ResultType> &task) { d->coreFileResult = task.result(); },
|
||||
CallDoneIf::Success},
|
||||
AsyncTask<ResultType>{[this, copyFileAsync](auto &task) {
|
||||
task.setConcurrentCallData(copyFileAsync, symbolFile());
|
||||
},
|
||||
[=](const auto &task) { d->symbolFileResult = task.result(); },
|
||||
[=](const Async<ResultType> &task) { d->symbolFileResult = task.result(); },
|
||||
CallDoneIf::Success}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user