Python: Simplify PyLSConfigureAssistant setup

Change-Id: Icdd8d0017a8fe71f579af6f19fa2b870f0677efc
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2024-01-15 17:26:18 +01:00
parent 5de41fb40d
commit 9c8e5d4cdb
3 changed files with 40 additions and 49 deletions

View File

@@ -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);
}