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:
@@ -206,7 +206,7 @@ AndroidSdkManagerWidget::~AndroidSdkManagerWidget()
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
void AndroidSdkManagerWidget::installEssentials(const QString &extraMessage)
|
||||
void AndroidSdkManagerWidget::installEssentials()
|
||||
{
|
||||
m_sdkModel->selectMissingEssentials();
|
||||
if (!m_sdkModel->missingEssentials().isEmpty()) {
|
||||
@@ -217,7 +217,8 @@ void AndroidSdkManagerWidget::installEssentials(const QString &extraMessage)
|
||||
.arg(Core::Constants::IDE_DISPLAY_NAME)
|
||||
.arg(m_sdkModel->missingEssentials().join("\", \"")));
|
||||
}
|
||||
onApplyButton(extraMessage);
|
||||
onApplyButton(tr("Android SDK installation is missing necessary packages. "
|
||||
"Do you want to install the missing packages?"));
|
||||
}
|
||||
|
||||
void AndroidSdkManagerWidget::beginLicenseCheck()
|
||||
|
||||
Reference in New Issue
Block a user