diff options
author | Assam Boudjelthia <[email protected]> | 2020-02-25 00:19:28 +0200 |
---|---|---|
committer | Assam Boudjelthia <[email protected]> | 2020-02-28 12:39:48 +0000 |
commit | a75cb044424f7d29b6841a32d325c0c5c1288f4c (patch) | |
tree | 4cd4ba5c5a18042f154ccbff2896f1bf6d02d0c2 /src/plugins/android/androidplugin.cpp | |
parent | bafa0d94957b96d92d0e821a66fd02d75b6cb91a (diff) |
Android: keep the debuggers list updated with auto detected toolchains
Current autoDetected Android debuggers list is never cleaned, if one
sets up many NDKs it could get really big and messy. This change tries
to keep it clean from old or duplicate entries, as well as keep it
chained to the autodection mechanism of Android toolchains and kits.
Relies on 291807 to allow autoDection for kits, toolchains, debuggers
to work out-of-box.
Change-Id: I320a021f0435d80fd3d56c060caa316def533afa
Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r-- | src/plugins/android/androidplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/androidplugin.cpp b/src/plugins/android/androidplugin.cpp index 1fcdd9bd720..2e02d516492 100644 --- a/src/plugins/android/androidplugin.cpp +++ b/src/plugins/android/androidplugin.cpp @@ -177,8 +177,8 @@ void AndroidPlugin::kitsRestored() &AndroidPlugin::askUserAboutAndroidSetup, Qt::QueuedConnection); } - AndroidConfigurations::updateAutomaticKitList(); AndroidConfigurations::registerNewToolChains(); + AndroidConfigurations::updateAutomaticKitList(); connect(QtSupport::QtVersionManager::instance(), &QtSupport::QtVersionManager::qtVersionsChanged, AndroidConfigurations::instance(), &AndroidConfigurations::updateAutomaticKitList); disconnect(KitManager::instance(), &KitManager::kitsLoaded, |