From 195abefe7da8325816081c67062c89a11cf734da Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 1 Nov 2021 17:02:02 +0100 Subject: EditorManager: Remove QString openEditor(At) overloads In favor of the FilePath/Link ones. Change-Id: I5caf9e0f8de304ff4ee12329557aa50a6f3a0c69 Reviewed-by: Qt CI Bot Reviewed-by: David Schulz --- src/plugins/debugger/qml/qmlinspectoragent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/debugger/qml/qmlinspectoragent.cpp') diff --git a/src/plugins/debugger/qml/qmlinspectoragent.cpp b/src/plugins/debugger/qml/qmlinspectoragent.cpp index 97a61c93d7..0e9be2bb5d 100644 --- a/src/plugins/debugger/qml/qmlinspectoragent.cpp +++ b/src/plugins/debugger/qml/qmlinspectoragent.cpp @@ -756,8 +756,8 @@ void QmlInspectorAgent::onShowAppOnTopChanged(bool checked) void QmlInspectorAgent::jumpToObjectDefinitionInEditor(const FileReference &objSource) { - const QString fileName = m_qmlEngine->toFileInProject(objSource.url()); - Core::EditorManager::openEditorAt(fileName, objSource.lineNumber()); + const auto filePath = Utils::FilePath::fromString(m_qmlEngine->toFileInProject(objSource.url())); + Core::EditorManager::openEditorAt({filePath, objSource.lineNumber()}); } void QmlInspectorAgent::selectObjects(const QList &debugIds, -- cgit v1.2.1