summaryrefslogtreecommitdiff
path: root/src/control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.cc')
-rw-r--r--src/control.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/control.cc b/src/control.cc
index ae1d654..e1b816c 100644
--- a/src/control.cc
+++ b/src/control.cc
@@ -82,7 +82,7 @@ void for_eval(AbstractNode *node, int l, const QVector<QString> &call_argnames,
foreach (ModuleInstantiation *v, arg_children) {
AbstractNode *n = v->evaluate(arg_context);
if (n != NULL)
- node->children.append(n);
+ node->children.push_back(n);
}
}
}
@@ -124,7 +124,7 @@ AbstractNode *ControlModule::evaluate(const Context*, const ModuleInstantiation
msg += QString(", ");
if (!inst->argnames[i].isEmpty())
msg += inst->argnames[i] + QString(" = ");
- msg += inst->argvalues[i].dump();
+ msg += QString::fromStdString(inst->argvalues[i].toString());
}
PRINT(msg);
}
@@ -139,7 +139,7 @@ AbstractNode *ControlModule::evaluate(const Context*, const ModuleInstantiation
foreach (ModuleInstantiation *v, inst->children) {
AbstractNode *n = v->evaluate(&c);
if (n != NULL)
- node->children.append(n);
+ node->children.push_back(n);
}
}
@@ -155,14 +155,14 @@ AbstractNode *ControlModule::evaluate(const Context*, const ModuleInstantiation
foreach (ModuleInstantiation *v, ifelse->children) {
AbstractNode *n = v->evaluate(ifelse->ctx);
if (n != NULL)
- node->children.append(n);
+ node->children.push_back(n);
}
}
else {
foreach (ModuleInstantiation *v, ifelse->else_children) {
AbstractNode *n = v->evaluate(ifelse->ctx);
if (n != NULL)
- node->children.append(n);
+ node->children.push_back(n);
}
}
}
contact: Jan Huwald // Impressum