mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:24:36 +02:00
Fix calls to setFailed in win32 launcher
This commit is contained in:
parent
da1b2e9ec8
commit
328896b9ed
1 changed files with 2 additions and 2 deletions
|
@ -745,7 +745,7 @@ BOOL LauncherManager::installContent() {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
addToLog(_T("Error decompressing content zip file."));
|
addToLog(_T("Error decompressing content zip file."));
|
||||||
setFailed(_hasFailed);
|
setFailed(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
std::function<void(float)> onProgress = [&](float progress) {
|
std::function<void(float)> onProgress = [&](float progress) {
|
||||||
|
@ -785,7 +785,7 @@ BOOL LauncherManager::downloadFile(ProcessType type, const CString& url, CString
|
||||||
} else {
|
} else {
|
||||||
addToLog(_T("Error downloading application."));
|
addToLog(_T("Error downloading application."));
|
||||||
}
|
}
|
||||||
setFailed(_hasFailed);
|
setFailed(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
std::function<void(float)> onProgress = [&, type](float progress) {
|
std::function<void(float)> onProgress = [&, type](float progress) {
|
||||||
|
|
Loading…
Reference in a new issue