Fix Mac Bearer when machine has no wifi
This manifested itself for some continuous integration machine, all regular macs have wireless. In case there is no wifi, we would never emit updateCompleted(). Change-Id: I1c5b0da6e1d73fef2588beb1796207326d430e26 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
This commit is contained in:
parent
2258d8f9d0
commit
263f97f963
@ -573,6 +573,8 @@ void QCoreWlanEngine::doRequestUpdate()
|
||||
scanThread->start();
|
||||
}
|
||||
locker.unlock();
|
||||
if ([wifiInterfaces count] == 0)
|
||||
networksChanged();
|
||||
[autoreleasepool release];
|
||||
}
|
||||
|
||||
|
@ -631,6 +631,8 @@ void QCoreWlanEngine::doRequestUpdate()
|
||||
scanThread->start();
|
||||
}
|
||||
locker.unlock();
|
||||
if ([wifiInterfaces count] == 0)
|
||||
networksChanged();
|
||||
[autoreleasepool release];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user