We currently read the previous m_securityCount instead of using the current securityCount.
FIXED-IN 5.13.1 (or 5.13.2?)
FIXED-IN 5.12.6 (This should be backported right?) https://github.com/KDE/discover/blame/Plasma/5.12/notifier/DiscoverNotifier.cpp#L82
The bug report is from 5.12.3, and was also reported on reddit today. Both have a screenshot of the bug.
We could also start the counter at 0 and add securityCount afterward.
- uint count = securityUpdatesCount(); + uint count = 0; foreach(BackendNotifierModule* module, m_backends) count += module->updatesCount(); + count += securityCount;