From 8009962584a4bc4d069d99cb9e65e8a0d7cf5fc8 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 2 Apr 2020 10:46:12 +0300 Subject: [PATCH] Android: remove automatic sdk setup ambiguity Use label text instead of icon for Auto SDK download button. Fixes: QTCREATORBUG-23774 Change-Id: I5f10bafb0cdf88210f7121504778885291169e07 Reviewed-by: Eike Ziller --- src/plugins/android/androidsettingswidget.cpp | 1 - src/plugins/android/androidsettingswidget.ui | 109 +++++++++--------- 2 files changed, 53 insertions(+), 57 deletions(-) diff --git a/src/plugins/android/androidsettingswidget.cpp b/src/plugins/android/androidsettingswidget.cpp index 28b3ad3c5f4..8835df58ec1 100644 --- a/src/plugins/android/androidsettingswidget.cpp +++ b/src/plugins/android/androidsettingswidget.cpp @@ -506,7 +506,6 @@ AndroidSettingsWidget::AndroidSettingsWidget() m_ui->downloadNDKToolButton->setIcon(downloadIcon); m_ui->downloadOpenJDKToolButton->setIcon(downloadIcon); m_ui->downloadOpenSSLPrebuiltLibs->setIcon(downloadIcon); - m_ui->sdkToolsAutoDownloadButton->setIcon(Utils::Icons::RELOAD.icon()); m_ui->sdkToolsAutoDownloadButton->setToolTip(tr( "Automatically download Android SDK Tools to selected location.\n\n" "If the selected path contains no valid SDK Tools, the SDK Tools package " diff --git a/src/plugins/android/androidsettingswidget.ui b/src/plugins/android/androidsettingswidget.ui index 56eba59b99d..94e6da4f7c5 100644 --- a/src/plugins/android/androidsettingswidget.ui +++ b/src/plugins/android/androidsettingswidget.ui @@ -129,62 +129,6 @@ Android Settings - - - - - 0 - 0 - - - - Android SDK location: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - Automatically download Android SDK Tools to selected location. - - - - - - - - - - Open Android SDK download URL in the system's browser. - - - - - - - Open Android NDK download URL in the system's browser. - - - - - - - - - - - - - - - - Android NDK list: - - - @@ -256,6 +200,59 @@ + + + + + + + Android NDK list: + + + + + + + Open Android SDK download URL in the system's browser. + + + + + + + + 0 + 0 + + + + Android SDK location: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Open Android NDK download URL in the system's browser. + + + + + + + + + + + + + Set Up SDK + + +