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>
This commit is contained in:
hjk
2022-04-26 10:21:12 +02:00
parent 28cfdf388a
commit 0da130c4ef
6 changed files with 18 additions and 15 deletions

View File

@@ -71,9 +71,11 @@ public:
static const LanguageClient::StdIOSettings *languageServerForPython(
const Utils::FilePath &python);
static void updateEditorInfoBars(const Utils::FilePath &python, LanguageClient::Client *client);
void openDocumentWithPython(const Utils::FilePath &python, TextEditor::TextDocument *document);
static void updateEditorInfoBars(const Utils::FilePath &python,
LanguageClient::Client *client);
static void openDocumentWithPython(const Utils::FilePath &python,
TextEditor::TextDocument *document);
private:
explicit PyLSConfigureAssistant(QObject *parent);