zeroconf: fixe bug in enactServiceChange triggerig

Change-Id: I7c1348bfb4f36770a7fdd78c839e25e9e5673342
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Fawzi Mohamed
2012-04-19 15:25:28 +02:00
parent de25873bf0
commit c863662bb2

View File

@@ -1381,7 +1381,7 @@ void ServiceBrowserPrivate::maybeUpdateLists()
} }
foreach (const ServiceGatherer::Ptr &g, pendingGatherers) foreach (const ServiceGatherer::Ptr &g, pendingGatherers)
if (delayDeletesUntil <= now || ! g->publishedService) if (delayDeletesUntil <= now || ! g->publishedService)
hasServicesChanges = hasServicesChanges || g->enactServiceChange(); hasServicesChanges = g->enactServiceChange() || hasServicesChanges;
if (hasServicesChanges) { if (hasServicesChanges) {
{ {
QMutexLocker l(mainConnection->lock()); QMutexLocker l(mainConnection->lock());