forked from qt-creator/qt-creator
Android: Fix "OpenJDK" title in browse dialog for JDK path.
Task-number: QTCREATORBUG-9705 Change-Id: Ic0172f86020ff560dc51210a5dc8edb1be080517 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -457,7 +457,7 @@ void AndroidSettingsWidget::browseAntLocation()
|
|||||||
void AndroidSettingsWidget::browseOpenJDKLocation()
|
void AndroidSettingsWidget::browseOpenJDKLocation()
|
||||||
{
|
{
|
||||||
Utils::FileName openJDKPath = m_androidConfig.openJDKLocation();
|
Utils::FileName openJDKPath = m_androidConfig.openJDKLocation();
|
||||||
Utils::FileName file = Utils::FileName::fromString(QFileDialog::getExistingDirectory(this, tr("Select OpenJDK Path"), openJDKPath.toString()));
|
Utils::FileName file = Utils::FileName::fromString(QFileDialog::getExistingDirectory(this, tr("Select JDK Path"), openJDKPath.toString()));
|
||||||
if (file.isEmpty())
|
if (file.isEmpty())
|
||||||
return;
|
return;
|
||||||
m_ui->OpenJDKLocationLineEdit->setText(file.toUserOutput());
|
m_ui->OpenJDKLocationLineEdit->setText(file.toUserOutput());
|
||||||
|
|||||||
Reference in New Issue
Block a user