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