forked from qt-creator/qt-creator
Axivion: Replace FilePath::toString
Replace occurrences of FilePath::toString with more sensible alternatives. Change-Id: If65f899db3b94d1560df188914bf5ab44a420b03 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
andrii.semkiv
parent
75cba34fa3
commit
f5dab0c7a5
@@ -1140,7 +1140,7 @@ void setAnalysisVersion(const QString &version)
|
||||
Utils::FilePath findFileForIssuePath(const Utils::FilePath &issuePath)
|
||||
{
|
||||
QTC_ASSERT(dd, return {});
|
||||
const FilePaths result = dd->m_fileFinder.findFile(QUrl::fromLocalFile(issuePath.toString()));
|
||||
const FilePaths result = dd->m_fileFinder.findFile(issuePath.toUrl());
|
||||
if (result.size() == 1)
|
||||
return dd->m_project->projectDirectory().resolvePath(result.first());
|
||||
return {};
|
||||
|
Reference in New Issue
Block a user