forked from qt-creator/qt-creator
Use native labels for "Browse" buttons
Change-Id: Idee0525ccd69c64856d0f4b7b3bab1252e573280 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
#include <utils/environment.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/pathchooser.h>
|
||||
#include <projectexplorer/toolchainmanager.h>
|
||||
#include <projectexplorer/kitmanager.h>
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
@@ -136,6 +137,11 @@ AndroidSettingsWidget::AndroidSettingsWidget(QWidget *parent)
|
||||
m_ui->downloadAntToolButton->setVisible(Utils::HostOsInfo::isWindowsHost());
|
||||
m_ui->downloadOpenJDKToolButton->setVisible(Utils::HostOsInfo::isWindowsHost());
|
||||
|
||||
m_ui->SDKLocationPushButton->setText(Utils::PathChooser::browseButtonLabel());
|
||||
m_ui->NDKLocationPushButton->setText(Utils::PathChooser::browseButtonLabel());
|
||||
m_ui->AntLocationPushButton->setText(Utils::PathChooser::browseButtonLabel());
|
||||
m_ui->OpenJDKLocationPushButton->setText(Utils::PathChooser::browseButtonLabel());
|
||||
|
||||
check(All);
|
||||
applyToUi(All);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user