forked from qt-creator/qt-creator
Python: Simplify PyLSConfigureAssistant setup
Change-Id: Icdd8d0017a8fe71f579af6f19fa2b870f0677efc Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user