diff options
| author | hjk <hjk@qt.io> | 2024-01-15 17:26:18 +0100 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2024-01-16 10:43:28 +0000 |
| commit | 9c8e5d4cdb81e53655c94932036f6ee2a16e5774 (patch) | |
| tree | 936024d85b09c7d9d8db87255fc6c3f7d89f433b /src/plugins/python/pythoneditor.cpp | |
| parent | 5de41fb40df2bc229fb32b1d7d3836daea5e0474 (diff) | |
Python: Simplify PyLSConfigureAssistant setup
Change-Id: Icdd8d0017a8fe71f579af6f19fa2b870f0677efc
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
| -rw-r--r-- | src/plugins/python/pythoneditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp index a4efb19e63d..f8d6a83a4ad 100644 --- a/src/plugins/python/pythoneditor.cpp +++ b/src/plugins/python/pythoneditor.cpp @@ -289,7 +289,7 @@ PythonDocument::PythonDocument() return; const FilePath &python = detectPython(filePath()); if (python.exists()) - PyLSConfigureAssistant::openDocumentWithPython(python, this); + openDocumentWithPython(python, this); }); connect(this, &PythonDocument::openFinishedSuccessfully, @@ -304,7 +304,7 @@ void PythonDocument::updateCurrentPython() void PythonDocument::updatePython(const FilePath &python) { - PyLSConfigureAssistant::openDocumentWithPython(python, this); + openDocumentWithPython(python, this); PySideInstaller::checkPySideInstallation(python, this); emit pythonUpdated(python); } |
