Debugger: Use FilePath in DebuggerEngine::gotoLocation()

Change-Id: Ic3a278de7f70af677547f00bc6de4d7bd15502bd
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-10-28 15:03:44 +02:00
parent c3a1193969
commit 45a716bd0c

View File

@@ -1097,7 +1097,7 @@ void DebuggerEngine::gotoLocation(const Location &loc)
showMessage("CANNOT GO TO THIS LOCATION");
return;
}
const QString file = loc.fileName().toString();
const FilePath file = loc.fileName();
const int line = loc.lineNumber();
bool newEditor = false;
IEditor *editor = EditorManager::openEditor(file,