Commit 8b2cf5d8 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix showing update notification

It would check whether the old count was greater than or equal to the new count which is the wrong way round and as such the notification was never shown.

BUG: 396426
BUG: 390322
FIXED-IN: 5.12.7

Differential Revision: https://phabricator.kde.org/D15682
parent aef134c4
......@@ -86,7 +86,7 @@ void DiscoverNotifier::updateStatusNotifier()
if (m_count == count && m_securityCount == securityCount)
return;
if (state() != NoUpdates && m_count >= count) {
if (state() != NoUpdates && count > m_count) {
m_timer.start();
}
......
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