aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidplugin.cpp
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-02-25 00:19:28 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-02-28 12:39:48 +0000
commita75cb044424f7d29b6841a32d325c0c5c1288f4c (patch)
tree4cd4ba5c5a18042f154ccbff2896f1bf6d02d0c2 /src/plugins/android/androidplugin.cpp
parentbafa0d94957b96d92d0e821a66fd02d75b6cb91a (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 <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/android/androidplugin.cpp')
-rw-r--r--src/plugins/android/androidplugin.cpp2
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,