Commit 97a61419 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

removed COUNT from handler error item

parent c0290c73
......@@ -304,7 +304,7 @@ QString AlarmTreeWidget::m_gen_error_item(const CuData &da) const {
QDateTime dt = QDateTime::currentDateTime();
QString dev = QuString(da, "src"), msg = QuString(da, "msg");
dev = dev.section('/', 0, dev.count('/') - 1);
l << QString::number(dt.toSecsSinceEpoch()) << "-" << dev << "ERROR" << "NACK" << "1" << "high" << "-1" << "gr_handler"
l << QString::number(dt.toSecsSinceEpoch()) << "-" << dev << "ERROR" << "NACK" << "high" << "-1" << "gr_handler"
<< msg.replace("\n", " ") << "NEW";
return l.join("\t");
}
......
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