Commit 9577e7d1 authored by Zren (Chris Holland)'s avatar Zren (Chris Holland)
Browse files

Fix there being more security updates than total updates in notifier

We currently read the previous `m_securityCount` instead of using the current `securityCount`.

BUG: 392056
FIXED-IN: 5.12.6

Differential Revision: https://phabricator.kde.org/D13596
parent 17c0b578
......@@ -79,7 +79,7 @@ void DiscoverNotifier::updateStatusNotifier()
for (BackendNotifierModule* module: m_backends)
securityCount += module->securityUpdatesCount();
uint count = securityUpdatesCount();
uint count = securityCount;
foreach(BackendNotifierModule* module, m_backends)
count += module->updatesCount();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment