Utils: Use an enum indication the possible abort of an dir iteration

The bool is not really clear.

Change-Id: I4ce6412736aec6b1853fd53d4e535ad045748350
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2023-01-24 11:23:47 +01:00
parent 4cf0918b5c
commit 1285b80c40
13 changed files with 35 additions and 29 deletions

View File

@@ -220,7 +220,6 @@ QtVersions KitDetectorPrivate::autoDetectQtVersions() const
[qtVersion](QtVersion* other) {
return qtVersion->mkspecPath() == other->mkspecPath();
})) {
qtVersions.append(qtVersion);
QtVersionManager::addVersion(qtVersion);
emit q->logOutput(
@@ -228,7 +227,7 @@ QtVersions KitDetectorPrivate::autoDetectQtVersions() const
}
}
}
return true;
return IterationPolicy::Continue;
};
emit q->logOutput(ProjectExplorer::Tr::tr("Searching for qmake executables..."));