Various FilePath::fromString -> fromUserInput changes

Change-Id: Ic9c5e2f5c0375468651557f504b101572b72ac06
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2021-09-23 17:38:58 +02:00
parent 3dd8831f14
commit fcf9537dc5
9 changed files with 11 additions and 11 deletions

View File

@@ -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"));
}
}
}