forked from qt-creator/qt-creator
Android: Hide warning icon for sdk if the setting is empty
Change-Id: Idf86cbf8679afcd6054c1f191619a44b576c6f45 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
@@ -176,8 +176,11 @@ void AndroidSettingsWidget::saveSettings(bool saveNow)
|
|||||||
|
|
||||||
bool AndroidSettingsWidget::checkSDK(const Utils::FileName &location)
|
bool AndroidSettingsWidget::checkSDK(const Utils::FileName &location)
|
||||||
{
|
{
|
||||||
if (location.isEmpty())
|
if (location.isEmpty()) {
|
||||||
|
m_ui->sdkWarningIconLabel->setVisible(false);
|
||||||
|
m_ui->sdkWarningLabel->setVisible(false);
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
Utils::FileName adb = location;
|
Utils::FileName adb = location;
|
||||||
Utils::FileName androidExe = location;
|
Utils::FileName androidExe = location;
|
||||||
Utils::FileName androidBat = location;
|
Utils::FileName androidBat = location;
|
||||||
|
|||||||
Reference in New Issue
Block a user