forked from qt-creator/qt-creator
Debugger: filepathify DiagnosticLocation
Change-Id: Ibbbf137231b313ec10e3d57c0230217b0c1e0a6c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -39,7 +39,7 @@ namespace ClangTools {
|
||||
namespace Internal {
|
||||
|
||||
DiagnosticMark::DiagnosticMark(const Diagnostic &diagnostic)
|
||||
: TextEditor::TextMark(Utils::FilePath::fromString(diagnostic.location.filePath),
|
||||
: TextEditor::TextMark(diagnostic.location.filePath,
|
||||
diagnostic.location.line,
|
||||
Utils::Id(Constants::DIAGNOSTIC_MARK_ID))
|
||||
, m_diagnostic(diagnostic)
|
||||
|
||||
Reference in New Issue
Block a user