Changeset View
Changeset View
Standalone View
Standalone View
notifier/DiscoverNotifier.cpp
Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 77 | { | |||
---|---|---|---|---|---|
81 | 81 | | |||
82 | uint count = securityCount; | 82 | uint count = securityCount; | ||
83 | foreach(BackendNotifierModule* module, m_backends) | 83 | foreach(BackendNotifierModule* module, m_backends) | ||
84 | count += module->updatesCount(); | 84 | count += module->updatesCount(); | ||
85 | 85 | | |||
86 | if (m_count == count && m_securityCount == securityCount) | 86 | if (m_count == count && m_securityCount == securityCount) | ||
87 | return; | 87 | return; | ||
88 | 88 | | |||
89 | if (state() != NoUpdates && m_count >= count) { | 89 | if (state() != NoUpdates && count > m_count) { | ||
90 | m_timer.start(); | 90 | m_timer.start(); | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | m_securityCount = securityCount; | 93 | m_securityCount = securityCount; | ||
94 | m_count = count; | 94 | m_count = count; | ||
95 | emit updatesChanged(); | 95 | emit updatesChanged(); | ||
96 | } | 96 | } | ||
97 | 97 | | |||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |