Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ab6b6894 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Properly compute the reboot state

parent 90940cf0
......@@ -110,7 +110,9 @@ void DiscoverNotifier::updateStatusNotifier()
DiscoverNotifier::State DiscoverNotifier::state() const
{
if (m_securityCount)
if (m_needsReboot)
return RebootRequired;
else if (m_securityCount)
return SecurityUpdates;
else if (m_count)
return NormalUpdates;
......
Markdown is supported
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