diff options
| author | Marcus Tillmanns <[email protected]> | 2025-07-15 10:37:32 +0200 |
|---|---|---|
| committer | Marcus Tillmanns <[email protected]> | 2025-07-16 07:57:09 +0000 |
| commit | 805e5d9cdd6b1c3e0f99718a04e2c50f6c0c7058 (patch) | |
| tree | 6445d877e04f3f59fba745dfc807e654a479b449 /src/plugins/python/pythonsettings.cpp | |
| parent | a2d5f07ef68fc8d87ddfd512e45b893d306c440f (diff) | |
Python: Connect auto detected kits to their device
Change-Id: Ic6f08c761cc427c5e5cbcc0ff9e1cec0051d44cb
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/python/pythonsettings.cpp')
| -rw-r--r-- | src/plugins/python/pythonsettings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/python/pythonsettings.cpp b/src/plugins/python/pythonsettings.cpp index edc100e23ec..ddacc26fb08 100644 --- a/src/plugins/python/pythonsettings.cpp +++ b/src/plugins/python/pythonsettings.cpp @@ -782,7 +782,8 @@ void PythonSettings::addKitsForInterpreter(const Interpreter &interpreter, bool KitManager::registerKit( [interpreter](Kit *k) { k->setAutoDetected(true); - k->setAutoDetectionSource("Python"); + k->setAutoDetectionSource( + interpreter.detectionSource.isEmpty() ? "Python" : interpreter.detectionSource); k->setUnexpandedDisplayName("%{Python:Name}"); setRelevantAspectsToKit(k); PythonKitAspect::setPython(k, interpreter.id); |
