Get triggerValue directly from JSON.
This commit is contained in:
parent
a37a22d3f9
commit
a550d55004
@ -624,9 +624,7 @@ bool Worker::updateTriggerSet() {
|
||||
if (v.isObject()) {
|
||||
obj = v.toObject();
|
||||
if (obj.contains("TRG")) {
|
||||
v = obj.value("TRG");
|
||||
if (v.isString()) {
|
||||
triggerValue = v.toString();
|
||||
triggerValue = obj.value("TRG").toString();
|
||||
|
||||
qInfo() << "REPEAT" << repeat
|
||||
<< "In updateTriggerSet() TRG value=<"
|
||||
|
Loading…
Reference in New Issue
Block a user