summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 79012c7..45cc289 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -238,7 +238,10 @@ void MainWindow::compile()
QApplication::processEvents();
AbstractNode::idx_counter = 1;
- root_node = root_module->evaluate(&root_ctx, QVector<QString>(), QVector<Value>(), QVector<ModuleInstanciation*>(), NULL);
+ {
+ ModuleInstanciation root_inst;
+ root_node = root_module->evaluate(&root_ctx, &root_inst);
+ }
if (!root_node)
goto fail;
contact: Jan Huwald // Impressum