forked from qt-creator/qt-creator
Various FilePath::fromString -> fromUserInput changes
Change-Id: Ic9c5e2f5c0375468651557f504b101572b72ac06 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -78,8 +78,8 @@ static std::vector<std::unique_ptr<CMakeTool>> autoDetectCMakeTools()
|
||||
for (auto envVar : {"ProgramFiles", "ProgramFiles(x86)", "ProgramW6432"}) {
|
||||
if (qEnvironmentVariableIsSet(envVar)) {
|
||||
const QString progFiles = qEnvironmentVariable(envVar);
|
||||
path.append(FilePath::fromString(progFiles + "/CMake"));
|
||||
path.append(FilePath::fromString(progFiles + "/CMake/bin"));
|
||||
path.append(FilePath::fromUserInput(progFiles + "/CMake"));
|
||||
path.append(FilePath::fromUserInput(progFiles + "/CMake/bin"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user