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:
@@ -171,7 +171,7 @@ void AndroidSdkDownloader::downloadAndExtractSdk()
|
||||
unarchiver.setDestDir(sdkFileName.parentDir());
|
||||
return SetupResult::Continue;
|
||||
};
|
||||
const auto onUnarchiverDone = [this, storage](const Unarchiver &, DoneWith result) {
|
||||
const auto onUnarchiverDone = [this, storage](DoneWith result) {
|
||||
if (result != DoneWith::Success) {
|
||||
logError(Tr::tr("Unarchiving error."));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user