forked from qt-creator/qt-creator
Debugger: Use FilePath in DebuggerEngine::gotoLocation()
Change-Id: Ic3a278de7f70af677547f00bc6de4d7bd15502bd Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1097,7 +1097,7 @@ void DebuggerEngine::gotoLocation(const Location &loc)
|
|||||||
showMessage("CANNOT GO TO THIS LOCATION");
|
showMessage("CANNOT GO TO THIS LOCATION");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const QString file = loc.fileName().toString();
|
const FilePath file = loc.fileName();
|
||||||
const int line = loc.lineNumber();
|
const int line = loc.lineNumber();
|
||||||
bool newEditor = false;
|
bool newEditor = false;
|
||||||
IEditor *editor = EditorManager::openEditor(file,
|
IEditor *editor = EditorManager::openEditor(file,
|
||||||
|
Reference in New Issue
Block a user