forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user