Commit 01428579 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

notifier: fix discover notifier state

It was uncommented for debug and got in
parent d25579fe
......@@ -26,15 +26,15 @@
KStatusNotifierItem::ItemStatus sniStatus(DiscoverNotifier::State state)
{
// switch (state) {
// case DiscoverNotifier::Offline:
// case DiscoverNotifier::NoUpdates:
// return KStatusNotifierItem::Passive;
// case DiscoverNotifier::NormalUpdates:
// case DiscoverNotifier::SecurityUpdates:
// case DiscoverNotifier::RebootRequired:
// return KStatusNotifierItem::Active;
// }
switch (state) {
case DiscoverNotifier::Offline:
case DiscoverNotifier::NoUpdates:
return KStatusNotifierItem::Passive;
case DiscoverNotifier::NormalUpdates:
case DiscoverNotifier::SecurityUpdates:
case DiscoverNotifier::RebootRequired:
return KStatusNotifierItem::Active;
}
return KStatusNotifierItem::Active;
}
......
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