Utils: Move FileUtils::resolvePath to FilePath

In line with the general move toward use of FilePath nowadays.

Change-Id: I1c50e1479f7d9100ff8ded3ce3c22dd82b7fe6aa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-12-04 13:36:04 +01:00
parent fa2c95f221
commit d3b2c01c11
8 changed files with 19 additions and 20 deletions

View File

@@ -155,7 +155,7 @@ FilePath CustomParser::absoluteFilePath(const QString &filePath) const
if (m_workingDirectory.isEmpty())
return FilePath::fromUserInput(filePath);
return FilePath::fromString(FileUtils::resolvePath(m_workingDirectory, filePath));
return FilePath::fromString(m_workingDirectory).resolvePath(filePath);
}
bool CustomParser::hasMatch(const QString &line, CustomParserExpression::CustomParserChannel channel,