forked from qt-creator/qt-creator
Debugger: make BreakpointParameters::fileName a Utils::FilePath
Task-number: QTCREATORBUG-23339 Change-Id: Ifc497c14589cd6df10d8219533e100f1919213b3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -328,14 +328,14 @@ ContextData getLocationContext(TextDocument *document, int lineNumber)
|
||||
int ln = line.leftRef(pos - 1).toInt();
|
||||
if (ln > 0) {
|
||||
data.type = LocationByFile;
|
||||
data.fileName = fileName;
|
||||
data.fileName = Utils::FilePath::fromString(fileName);
|
||||
data.lineNumber = ln;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
data.type = LocationByFile;
|
||||
data.fileName = document->filePath().toString();
|
||||
data.fileName = document->filePath();
|
||||
data.lineNumber = lineNumber;
|
||||
}
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user