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
4d2c9d59
Commit
4d2c9d59
authored
Jul 09, 2021
by
Giacomo Strangolino
Browse files
fixed filter update in historical view
parent
93f1fd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AlarmTreeWidget.cpp
View file @
4d2c9d59
...
...
@@ -51,6 +51,8 @@ void AlarmTreeWidget::refresh(const CuData &v) {
QString
src
=
QuString
(
v
,
"src"
);
QString
dev
=
src
.
section
(
'/'
,
0
,
src
.
count
(
'/'
)
-
1
);
bool
empty
=
QuString
(
v
,
"msg"
).
contains
(
QRegularExpression
(
"cannot
\\
s+extract"
));
printf
(
"\e[1;31mempty is %d msg is %s\e[0m
\n
"
,
empty
,
vtoc2
(
v
,
"msg"
));
printf
(
"\e[1;33m%s\e[0m
\n
"
,
datos
(
v
));
bool
err
=
v
[
"err"
].
toBool
()
&&
!
empty
;
if
(
empty
)
printf
(
"\e[1;34mAlarmTreeWidget::refresh: attribute %s is empty <<<<<<<<<<<<<<<< \e[0m
\n
"
,
qstoc
(
src
));
...
...
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