forked from qt-creator/qt-creator
zeroconf: fixe bug in enactServiceChange triggerig
Change-Id: I7c1348bfb4f36770a7fdd78c839e25e9e5673342 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user