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/python/pythonrunconfiguration.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/python/pythonrunconfiguration.cpp')
-rw-r--r-- | src/plugins/python/pythonrunconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonrunconfiguration.cpp b/src/plugins/python/pythonrunconfiguration.cpp index 4564e8a686..19d73ce77e 100644 --- a/src/plugins/python/pythonrunconfiguration.cpp +++ b/src/plugins/python/pythonrunconfiguration.cpp @@ -123,7 +123,7 @@ private: return false; const QString fileName = match.captured(3); const int lineNumber = match.captured(4).toInt(); - Core::EditorManager::openEditorAt(fileName, lineNumber); + Core::EditorManager::openEditorAt({FilePath::fromString(fileName), lineNumber}); return true; } |