forked from qt-creator/qt-creator
Android: simplify AndroidSdkManagerWidget::installEssentials()
Remove an argument that doesn't need to be be provided explicitly by the caller and can be done internally. Change-Id: Ie225f847560b746ce9b8103ab38caca5caca1b0a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -515,11 +515,8 @@ void AndroidSettingsWidget::validateSdk()
|
||||
PlatformSdkInstalledRow,
|
||||
AllEssentialsInstalledRow});
|
||||
m_androidConfig.setSdkFullyConfigured(sdkToolsOk && componentsOk);
|
||||
if (sdkToolsOk && !componentsOk) {
|
||||
m_sdkManagerWidget->installEssentials(
|
||||
"Android SDK installation is missing necessary packages. "
|
||||
"Do you want to install the missing packages?");
|
||||
}
|
||||
if (sdkToolsOk && !componentsOk)
|
||||
m_sdkManagerWidget->installEssentials();
|
||||
|
||||
updateNdkList();
|
||||
updateUI();
|
||||
|
||||
Reference in New Issue
Block a user