ProjectExplorer: fix Interpreter::changed emits

Only emit changed if the current interpreter changes.
This is more in line with the other aspects.

This fixes the pyside detection since the changed signal was not
emitted in all relevant code paths.

Change-Id: I53409b17f260b35914e39de894b48d7bd1ce27c0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2023-08-15 10:01:33 +02:00
parent b8acef5d8c
commit 01cac8299b
3 changed files with 17 additions and 7 deletions

View File

@@ -127,7 +127,6 @@ public:
{
connect(q, &InterpreterAspect::changed,
this, &PythonInterpreterAspectPrivate::currentInterpreterChanged);
currentInterpreterChanged();
connect(PySideInstaller::instance(), &PySideInstaller::pySideInstalled, this,
[this](const FilePath &python) {