summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidconfigurations.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-12-01 11:36:34 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-12-01 13:05:08 +0000
commitb977b2f4b19327e5833e1c84910fc5db51dad279 (patch)
tree0edc5855993f0844aeac9423885279011eb23d5e /src/plugins/android/androidconfigurations.h
parente8503fa0a3d7f21a0c31439c85b8becd7ca0035e (diff)
downloadqt-creator-b977b2f4b19327e5833e1c84910fc5db51dad279.tar.gz
Android: Fix AndroidDeviceInfo::isValid
Task-number: QTCREATORBUG-15430 Change-Id: I6746cffd8d3d4ffc71c35060ed0a2eba7a7aa64b Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/plugins/android/androidconfigurations.h')
-rw-r--r--src/plugins/android/androidconfigurations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/androidconfigurations.h b/src/plugins/android/androidconfigurations.h
index 9cf8bb8ce6..605929b05f 100644
--- a/src/plugins/android/androidconfigurations.h
+++ b/src/plugins/android/androidconfigurations.h
@@ -72,7 +72,7 @@ public:
static QStringList adbSelector(const QString &serialNumber);
- bool isValid() { return !serialNumber.isEmpty() && !avdname.isEmpty(); }
+ bool isValid() { return !serialNumber.isEmpty() || !avdname.isEmpty(); }
};
class SdkPlatform