forked from qt-creator/qt-creator
Utils: Rename FilePath::searchOnDevice to searchInDirectories
Makes it a bit clearer that there's no magic path use or similar beyond this point. Change-Id: I86c06850d16bf777db05ad23b540d8096926c059 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -188,7 +188,7 @@ void CMakeToolManager::autoDetectCMakeForDevice(const FilePath &deviceRoot,
|
||||
const FilePaths candidates = {deviceRoot.withNewPath("cmake")};
|
||||
const Environment env = deviceRoot.deviceEnvironment();
|
||||
for (const FilePath &candidate : candidates) {
|
||||
const FilePath cmake = candidate.searchOnDevice(env.path());
|
||||
const FilePath cmake = candidate.searchInDirectories(env.path());
|
||||
if (!cmake.isEmpty()) {
|
||||
registerCMakeByPath(cmake, detectionSource);
|
||||
messages.append(tr("Found \"%1\"").arg(cmake.toUserOutput()));
|
||||
|
||||
Reference in New Issue
Block a user