diff options
Diffstat (limited to 'src/plugins/cppeditor/cppchecksymbols.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppchecksymbols.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppchecksymbols.cpp b/src/plugins/cppeditor/cppchecksymbols.cpp index 1621f6ae51..c0ca402070 100644 --- a/src/plugins/cppeditor/cppchecksymbols.cpp +++ b/src/plugins/cppeditor/cppchecksymbols.cpp @@ -312,7 +312,7 @@ void CheckSymbols::run() { CollectSymbols collectTypes(_doc, _context.snapshot()); - _fileName = _doc->fileName(); + _filePath = _doc->filePath(); _potentialTypes = collectTypes.types(); _potentialFields = collectTypes.fields(); _potentialFunctions = collectTypes.functions(); @@ -334,7 +334,7 @@ void CheckSymbols::run() bool CheckSymbols::warning(unsigned line, unsigned column, const QString &text, unsigned length) { - Document::DiagnosticMessage m(Document::DiagnosticMessage::Warning, _fileName, line, column, text, length); + Document::DiagnosticMessage m(Document::DiagnosticMessage::Warning, _filePath, line, column, text, length); _diagMsgs.append(m); return false; } |