Commit 72d9d989 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

simplified fqdn in view

parent 767a4b2b
...@@ -352,7 +352,8 @@ void AlarmTreeWidget::m_remove_stale_items(const QSet<QString> stale_names, cons ...@@ -352,7 +352,8 @@ void AlarmTreeWidget::m_remove_stale_items(const QSet<QString> stale_names, cons
} }
int AlarmTreeWidget::m_pri_to_int(const QString &pri) const { int AlarmTreeWidget::m_pri_to_int(const QString &pri) const {
if(pri == "high") return 100; if(pri == "highest") return 150;
else if(pri == "high") return 100;
else if(pri == "medium") return 80; else if(pri == "medium") return 80;
else if(pri == "low") return 50; else if(pri == "low") return 50;
else return 10; else return 10;
......
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