Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
gui
alarm-ng
Commits
97a61419
Commit
97a61419
authored
Apr 30, 2021
by
Giacomo Strangolino
Browse files
removed COUNT from handler error item
parent
c0290c73
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AlarmTreeWidget.cpp
View file @
97a61419
...
...
@@ -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
"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment