summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models/parsetreemodel.cpp')
-rw-r--r--utils/themeeditor/models/parsetreemodel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreemodel.cpp b/utils/themeeditor/models/parsetreemodel.cpp
index 762443f4a5..41cecc4c20 100644
--- a/utils/themeeditor/models/parsetreemodel.cpp
+++ b/utils/themeeditor/models/parsetreemodel.cpp
@@ -23,6 +23,7 @@
23#include "parsetreemodel.h" 23#include "parsetreemodel.h"
24#include "symbols.h" 24#include "symbols.h"
25#include "rbscreen.h" 25#include "rbscreen.h"
26#include "rbrenderinfo.h"
26 27
27#include <cstdlib> 28#include <cstdlib>
28 29
@@ -280,5 +281,12 @@ QGraphicsScene* ParseTreeModel::render(ProjectModel* project)
280 RBScreen* screen = new RBScreen(project); 281 RBScreen* screen = new RBScreen(project);
281 scene->addItem(screen); 282 scene->addItem(screen);
282 283
284 RBRenderInfo info(this, project, screen);
285
286 /* Rendering the tree */
287 if(root)
288 root->render(info);
289
290
283 return scene; 291 return scene;
284} 292}