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,6 +1366,7 @@ void ServiceBrowserPrivate::maybeUpdateLists()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
foreach (const ServiceGatherer::Ptr &g, pendingGatherers)
|
foreach (const ServiceGatherer::Ptr &g, pendingGatherers)
|
||||||
|
if (delayDeletesUntil <= now || ! g->publishedService)
|
||||||
hasServicesChanges = hasServicesChanges || g->enactServiceChange();
|
hasServicesChanges = hasServicesChanges || g->enactServiceChange();
|
||||||
if (hasServicesChanges) {
|
if (hasServicesChanges) {
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user