Commit de1af231 authored by Daniel Teske's avatar Daniel Teske

Compile

Change-Id: I39c69bace0926e381b3569818401ddda8dd2c986
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 1c633eb1
......@@ -104,8 +104,8 @@ namespace {
bool androidDevicesLessThan(const AndroidDeviceInfo &dev1, const AndroidDeviceInfo &dev2)
{
if (dev1.serialNumber.contains("????") == dev2.serialNumber.contains("????"))
return !dev1.serialNumber.contains("????");
if (dev1.serialNumber.contains(QLatin1String("????")) == dev2.serialNumber.contains(QLatin1String("????")))
return !dev1.serialNumber.contains(QLatin1String("????"));
bool dev1IsEmulator = dev1.serialNumber.startsWith(QLatin1String("emulator"));
bool dev2IsEmulator = dev2.serialNumber.startsWith(QLatin1String("emulator"));
if (dev1IsEmulator != dev2IsEmulator)
......
Markdown is supported
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