diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-11-01 17:02:02 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-11-02 08:11:14 +0000 |
commit | 195abefe7da8325816081c67062c89a11cf734da (patch) | |
tree | df1e26e51f079b09a358a9fe79da04ceb32da538 /src/plugins/cppeditor/cppcompletion_test.cpp | |
parent | 4dac32d6610db6c2f0c99b1d966ab53f38cd26e9 (diff) | |
download | qt-creator-195abefe7da8325816081c67062c89a11cf734da.tar.gz |
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>
Diffstat (limited to 'src/plugins/cppeditor/cppcompletion_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppcompletion_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppcompletion_test.cpp b/src/plugins/cppeditor/cppcompletion_test.cpp index ae1541cc58..532acd6b53 100644 --- a/src/plugins/cppeditor/cppcompletion_test.cpp +++ b/src/plugins/cppeditor/cppcompletion_test.cpp @@ -79,7 +79,7 @@ public: QVERIFY(!fileName.isEmpty()); // Open in editor - m_editor = EditorManager::openEditor(fileName); + m_editor = EditorManager::openEditor(Utils::FilePath::fromString(fileName)); QVERIFY(m_editor); closeEditorAtEndOfTestCase(m_editor); m_editorWidget = TextEditorWidget::fromEditor(m_editor); |