forked from qt-creator/qt-creator
Replace some uses of HostOsInfo::withExecutableSuffix with FilePath
Change-Id: Id72e9fd04dd4995ff2775ee919f747018cbcc339 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -125,7 +125,7 @@ static FilePath ensureExeEnding(const FilePath &file)
|
||||
{
|
||||
if (!HostOsInfo::isWindowsHost() || file.isEmpty() || file.toString().toLower().endsWith(".exe"))
|
||||
return file;
|
||||
return FilePath::fromString(HostOsInfo::withExecutableSuffix(file.toString()));
|
||||
return file.withExecutableSuffix();
|
||||
}
|
||||
|
||||
void TestConfiguration::completeTestInformation(ProjectExplorer::RunConfiguration *rc,
|
||||
|
||||
Reference in New Issue
Block a user