forked from qt-creator/qt-creator
Debugger: filepathify DiagnosticLocation
Change-Id: Ibbbf137231b313ec10e3d57c0230217b0c1e0a6c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -175,7 +175,9 @@ ErrorItem::ErrorItem(const ErrorListModel *model, const Error &error)
|
||||
|
||||
static QVariant locationData(int role, const Frame &frame)
|
||||
{
|
||||
const Debugger::DiagnosticLocation location(frame.filePath(), frame.line(), 0);
|
||||
const Debugger::DiagnosticLocation location(Utils::FilePath::fromString(frame.filePath()),
|
||||
frame.line(),
|
||||
0);
|
||||
return Debugger::DetailedErrorView::locationData(role, location);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user