forked from qt-creator/qt-creator
C++: Use Utils::FileName for Usage::path
Change-Id: I1d22333ad60d229202db5d372d00019b5870e60f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
2f7384dd27
commit
edbaea4f60
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user