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:
@@ -226,7 +226,7 @@ FilePath PathChooserPrivate::expandedPath(const QString &input) const
|
||||
case PathChooser::ExistingCommand: {
|
||||
FilePaths searchPaths = env.path();
|
||||
searchPaths.append(m_baseDirectory);
|
||||
const FilePath expanded = path.searchOnDevice(searchPaths);
|
||||
const FilePath expanded = path.searchInDirectories(searchPaths);
|
||||
return expanded.isEmpty() ? path : expanded;
|
||||
}
|
||||
case PathChooser::Any:
|
||||
|
||||
Reference in New Issue
Block a user