Allow configured adb path to be empty, look for adb in shipped path

* On windows we ship adb.exe under android/ so that there's no configure
  needed. Look for that file if there isn't an override path.
This commit is contained in:
baldurk
2017-06-14 17:09:22 +01:00
committed by Baldur Karlsson
parent 6423a82d18
commit e0104e8fe0
5 changed files with 22 additions and 14 deletions
@@ -186,9 +186,6 @@ void PersistantConfig::AddAndroidHosts()
// Set the config setting as it will be reused when we start the remoteserver etc.
SetConfigSetting(lit("adbExePath"), adbExePath);
if(adbExePath.isEmpty())
return; // adb path must be non-empty in the Options dialog.
SetConfigSetting(lit("MaxConnectTimeout"), QString::number(Android_MaxConnectTimeout));
rdctype::str androidHosts;