forked from qt-creator/qt-creator
Debugger: filepathify DiagnosticLocation
Change-Id: Ibbbf137231b313ec10e3d57c0230217b0c1e0a6c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -103,7 +103,7 @@ void DiagnosticView::openEditorForCurrentIndex()
|
||||
const QVariant v = model()->data(currentIndex(), Debugger::DetailedErrorView::LocationRole);
|
||||
const auto loc = v.value<Debugger::DiagnosticLocation>();
|
||||
if (loc.isValid())
|
||||
Core::EditorManager::openEditorAt(loc.filePath, loc.line, loc.column - 1);
|
||||
Core::EditorManager::openEditorAt(Utils::Link(loc.filePath, loc.line, loc.column - 1));
|
||||
}
|
||||
|
||||
void DiagnosticView::mouseDoubleClickEvent(QMouseEvent *event)
|
||||
|
||||
Reference in New Issue
Block a user