Commit 65c2930c authored by Daniel Teske's avatar Daniel Teske
Browse files

Android: JDK location is a directory, use correct file chooser dialog

Task-number: QTCREATORBUG-9706
Change-Id: I0a1892eb94024529cf450926dee22e629ef85e0b
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <>
parent 41b51ff6
......@@ -377,7 +377,7 @@ void AndroidSettingsWidget::browseAntLocation()
void AndroidSettingsWidget::browseOpenJDKLocation()
Utils::FileName openJDKPath = AndroidConfigurations::instance().openJDKPath();
Utils::FileName file = Utils::FileName::fromString(QFileDialog::getOpenFileName(this, tr("Select OpenJDK Path"), openJDKPath.toString()));
Utils::FileName file = Utils::FileName::fromString(QFileDialog::getExistingDirectory(this, tr("Select OpenJDK Path"), openJDKPath.toString()));
if (file.isEmpty())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment