AndroidSettingsWidget: Set JDK path

Use QFileDialog::getExistingDirectory instead of
QFileDialog::getOpenfileName.

Change-Id: I3790f3c238434643fa304e18a42216b951a445c7
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>