forked from qt-creator/qt-creator
Utils: Remove now-unused Environment::findAllInPath
Change-Id: I562309c292ab0c5ae317593e40e5105bbcf89bf8 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -319,25 +319,6 @@ FilePath Environment::searchInPath(const QString &executable,
|
||||
return result;
|
||||
}
|
||||
|
||||
FilePaths Environment::findAllInPath(const QString &executable,
|
||||
const FilePaths &additionalDirs,
|
||||
const FilePathPredicate &func) const
|
||||
{
|
||||
QSet<FilePath> result;
|
||||
searchInDirectoriesHelper(
|
||||
[&result](const FilePath &path) {
|
||||
result.insert(path);
|
||||
return IterationPolicy::Continue;
|
||||
},
|
||||
*this,
|
||||
executable,
|
||||
additionalDirs,
|
||||
func,
|
||||
true);
|
||||
|
||||
return result.values();
|
||||
}
|
||||
|
||||
FilePaths Environment::path() const
|
||||
{
|
||||
return pathListValue("PATH");
|
||||
|
||||
Reference in New Issue
Block a user