From dea3ea226235251ebe7a4fa9616fd7f9ee2d2ebc Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 25 Jan 2023 15:00:25 +0100 Subject: [PATCH] Python: remove unused function Change-Id: Iceee91f761e080dcdd329375638f883261c0a319 Reviewed-by: Christian Stenger --- src/plugins/python/pyside.cpp | 9 --------- src/plugins/python/pyside.h | 1 - 2 files changed, 10 deletions(-) diff --git a/src/plugins/python/pyside.cpp b/src/plugins/python/pyside.cpp index f16e81af939..f994108cae0 100644 --- a/src/plugins/python/pyside.cpp +++ b/src/plugins/python/pyside.cpp @@ -92,15 +92,6 @@ void PySideInstaller::installPyside(const FilePath &python, install->run(); } -void PySideInstaller::changeInterpreter(const QString &interpreterId, - RunConfiguration *runConfig) -{ - if (runConfig) { - if (auto aspect = runConfig->aspect()) - aspect->setCurrentInterpreter(PythonSettings::interpreter(interpreterId)); - } -} - void PySideInstaller::handlePySideMissing(const FilePath &python, const QString &pySide, TextEditor::TextDocument *document) diff --git a/src/plugins/python/pyside.h b/src/plugins/python/pyside.h index 299a095412a..3b4f99974a5 100644 --- a/src/plugins/python/pyside.h +++ b/src/plugins/python/pyside.h @@ -30,7 +30,6 @@ private: void installPyside(const Utils::FilePath &python, const QString &pySide, TextEditor::TextDocument *document); - void changeInterpreter(const QString &interpreterId, ProjectExplorer::RunConfiguration *runConfig); void handlePySideMissing(const Utils::FilePath &python, const QString &pySide, TextEditor::TextDocument *document);