forked from qt-creator/qt-creator
EditorManager: Remove QString openEditor(At) overloads
In favor of the FilePath/Link ones. Change-Id: I5caf9e0f8de304ff4ee12329557aa50a6f3a0c69 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -1852,7 +1852,7 @@ void ClangdTestCompletion::getProposal(const QString &fileName,
|
||||
int line, column;
|
||||
Utils::Text::convertPosition(doc->document(), pos, &line, &column);
|
||||
const auto editor = qobject_cast<BaseTextEditor *>(
|
||||
EditorManager::openEditorAt(doc->filePath().toString(), line, column - 1));
|
||||
EditorManager::openEditorAt({doc->filePath(), line, column - 1}));
|
||||
QVERIFY(editor);
|
||||
QCOMPARE(EditorManager::currentEditor(), editor);
|
||||
QCOMPARE(editor->textDocument(), doc);
|
||||
|
||||
Reference in New Issue
Block a user