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
1fcb0bb9
Commit
1fcb0bb9
authored
Dec 16, 2020
by
Giacomo Strangolino
Browse files
added acmd.h,cpp
parent
a2f51fa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acmd.cpp
View file @
1fcb0bb9
...
...
@@ -15,9 +15,9 @@ void Acmd::ack(const QTreeWidget *tw, bool all, CumbiaPool *cup, const CuControl
QuWriter
*
w
=
new
QuWriter
(
nullptr
,
cup
,
fpoo
);
const
QStringList
&
alarms
=
map
.
values
(
dev
);
w
->
setAutoDestroy
(
true
);
w
->
setTarget
(
dev
+
"->Ack"
);
w
->
setTarget
(
QString
(
"%1->Ack(%2)"
).
arg
(
dev
).
arg
(
alarms
.
join
(
','
))
);
printf
(
"AckCmd.ack: executing %s (%s)
\n
"
,
qstoc
(
w
->
target
()),
qstoc
(
alarms
.
join
(
","
)));
w
->
execute
(
alarms
);
w
->
execute
();
/* stop new */
QuWriter
*
stopNewWriter
=
new
QuWriter
(
nullptr
,
cup
,
fpoo
);
...
...
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