forked from qt-creator/qt-creator
Python: remove unused function
Change-Id: Iceee91f761e080dcdd329375638f883261c0a319 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -92,15 +92,6 @@ void PySideInstaller::installPyside(const FilePath &python,
|
|||||||
install->run();
|
install->run();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PySideInstaller::changeInterpreter(const QString &interpreterId,
|
|
||||||
RunConfiguration *runConfig)
|
|
||||||
{
|
|
||||||
if (runConfig) {
|
|
||||||
if (auto aspect = runConfig->aspect<InterpreterAspect>())
|
|
||||||
aspect->setCurrentInterpreter(PythonSettings::interpreter(interpreterId));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void PySideInstaller::handlePySideMissing(const FilePath &python,
|
void PySideInstaller::handlePySideMissing(const FilePath &python,
|
||||||
const QString &pySide,
|
const QString &pySide,
|
||||||
TextEditor::TextDocument *document)
|
TextEditor::TextDocument *document)
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ private:
|
|||||||
|
|
||||||
void installPyside(const Utils::FilePath &python,
|
void installPyside(const Utils::FilePath &python,
|
||||||
const QString &pySide, TextEditor::TextDocument *document);
|
const QString &pySide, TextEditor::TextDocument *document);
|
||||||
void changeInterpreter(const QString &interpreterId, ProjectExplorer::RunConfiguration *runConfig);
|
|
||||||
void handlePySideMissing(const Utils::FilePath &python,
|
void handlePySideMissing(const Utils::FilePath &python,
|
||||||
const QString &pySide,
|
const QString &pySide,
|
||||||
TextEditor::TextDocument *document);
|
TextEditor::TextDocument *document);
|
||||||
|
|||||||
Reference in New Issue
Block a user