aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2024-01-25 11:50:00 +0100
committerDavid Schulz <david.schulz@qt.io>2024-01-26 11:27:32 +0000
commitd9404208dae192f318d150df4aed502f0a331c76 (patch)
tree03c417b38f94cfabde557e4ab19644f8428dfaa3 /src/plugins/python
parentbd81ef412772d3b8eb5ced13c78bce1cc282e174 (diff)
ProjectExplorer: declare only relevant aspects as features
This will disable python kits for all Wizards that require a valid Qt. Change-Id: I4a8d6dd60629ddb556e49c067200acba8ef080d2 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/python')
-rw-r--r--src/plugins/python/pythonkitaspect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonkitaspect.cpp b/src/plugins/python/pythonkitaspect.cpp
index 4846f12c12d..2c700f58ae5 100644
--- a/src/plugins/python/pythonkitaspect.cpp
+++ b/src/plugins/python/pythonkitaspect.cpp
@@ -147,7 +147,7 @@ public:
QSet<Id> availableFeatures(const Kit *k) const override
{
- if (k->isAspectRelevant(PythonKitAspect::id()) && PythonKitAspect::python(k))
+ if (PythonKitAspect::python(k))
return {PythonKitAspect::id()};
return {};
}