summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-04-26 10:21:12 +0200
committerhjk <hjk@qt.io>2022-04-27 08:55:02 +0000
commit0da130c4eff1b829e968d7e63546aea2cad560fb (patch)
treeadc41fc6d593932aff836ca54d9d54750b76dbee /src/plugins/python/pythoneditor.cpp
parent28cfdf388ae3e3ed7e073e98a83c737d889d887f (diff)
downloadqt-creator-0da130c4eff1b829e968d7e63546aea2cad560fb.tar.gz
Python: Apply 'static' pattern for singleton members
Plus some cosmetics. Change-Id: Ia2c8f425f0491fbe6a0bbf2e508857a5550e4d38 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index 6344e52f9b..562f69f5d7 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -118,8 +118,8 @@ public:
if (!python.exists())
return;
- PyLSConfigureAssistant::instance()->openDocumentWithPython(python, this);
- PySideInstaller::instance()->checkPySideInstallation(python, this);
+ PyLSConfigureAssistant::openDocumentWithPython(python, this);
+ PySideInstaller::checkPySideInstallation(python, this);
}
};