C++: Use Utils::FileName for Usage::path

Change-Id: I1d22333ad60d229202db5d372d00019b5870e60f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Orgad Shaneh
2017-04-27 10:54:30 +03:00
committed by Orgad Shaneh
parent 2f7384dd27
commit edbaea4f60
3 changed files with 6 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ void FindUsages::reportResult(unsigned tokenIndex)
const int len = tk.utf16chars();
const Usage u(_doc->fileName(), lineText, line, col, len);
const Usage u(Utils::FileName::fromString(_doc->fileName()), lineText, line, col, len);
_usages.append(u);
_references.append(tokenIndex);
}