aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2024-04-17 15:08:34 +0200
committerDavid Schulz <david.schulz@qt.io>2024-04-22 11:36:12 +0000
commit620f6fd39ba42189ab5841c12cd8c7fcd8b93e56 (patch)
treece9efe308e6f6438dcbef98204828ed0b19c056c /src/plugins/python/pythoneditor.cpp
parentb5740eb0c613a9edf9e28d60d07bae4fe4921de6 (diff)
Python: offer to install pyside also in qml files
This shwos the same editor toolbar as in the python editor that offers to install pyside, if the qml file can be associated to a python project and the configured python for that project does not contain a valid pyside. Change-Id: Id05a2621aec9d78c4a22e61830813cd261eda4fc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index 94a8e498eba..64ad03052d7 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -303,7 +303,7 @@ void PythonDocument::updateCurrentPython()
void PythonDocument::updatePython(const FilePath &python)
{
openDocumentWithPython(python, this);
- PySideInstaller::checkPySideInstallation(python, this);
+ PySideInstaller::instance().checkPySideInstallation(python, this);
emit pythonUpdated(python);
}