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:
@@ -323,7 +323,8 @@ bool OpenDocumentCommand::run()
|
||||
{
|
||||
qCDebug(debug) << "line" << context().lineNumber << "OpenDocumentCommand" << m_documentFilePath;
|
||||
|
||||
const bool openEditorSucceeded = Core::EditorManager::openEditor(m_documentFilePath);
|
||||
const bool openEditorSucceeded = Core::EditorManager::openEditor(
|
||||
Utils::FilePath::fromString(m_documentFilePath));
|
||||
QTC_ASSERT(openEditorSucceeded, return false);
|
||||
|
||||
auto *processor = ClangEditorDocumentProcessor::get(m_documentFilePath);
|
||||
|
||||
Reference in New Issue
Block a user