forked from qt-creator/qt-creator
zeroconf: avoid updates immediately after a refresh
Change-Id: Icb1afb741fb288208666c6cc54f88a7848532305 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -1366,7 +1366,8 @@ void ServiceBrowserPrivate::maybeUpdateLists()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach (const ServiceGatherer::Ptr &g, pendingGatherers)
|
foreach (const ServiceGatherer::Ptr &g, pendingGatherers)
|
||||||
hasServicesChanges = hasServicesChanges || g->enactServiceChange();
|
if (delayDeletesUntil <= now || ! g->publishedService)
|
||||||
|
hasServicesChanges = hasServicesChanges || g->enactServiceChange();
|
||||||
if (hasServicesChanges) {
|
if (hasServicesChanges) {
|
||||||
{
|
{
|
||||||
QMutexLocker l(mainConnection->lock());
|
QMutexLocker l(mainConnection->lock());
|
||||||
|
Reference in New Issue
Block a user