CMakeProjectManager: Pass context object to lambda connections

Remove some unneeded lambda () brackets.
Remove some unneeded lambda return type specifiers.

Change-Id: I9695367d66a151f2611554b9fe5897c1bac7ef5c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-12-07 15:37:42 +01:00
parent 9e7743494c
commit d0e24654f6
8 changed files with 29 additions and 29 deletions

View File

@@ -836,7 +836,7 @@ FileApiData FileApiParser::parseData(QFutureInterface<std::shared_ptr<FileApiQtc
FileApiData result;
const auto cancelCheck = [&fi, &errorMessage]() -> bool {
const auto cancelCheck = [&fi, &errorMessage] {
if (fi.isCanceled()) {
errorMessage = Tr::tr("CMake parsing was canceled.");
return true;