diff options
author | Marius Kintel <marius@kintel.net> | 2011-08-04 02:58:17 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-08-04 02:58:17 (GMT) |
commit | cf4821c589dc5a43895c7ea781f6a916c8b5821c (patch) | |
tree | 5d3cf7a69f39187d2cc9b639cacfb68a812ae467 /src/control.cc | |
parent | e3e31c0f4f1049cb983906cc8fea83ef78611231 (diff) |
De-Qt-ified AbstractNode
Diffstat (limited to 'src/control.cc')
-rw-r--r-- | src/control.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control.cc b/src/control.cc index ca1a4c6..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); } } } @@ -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); } } } |