summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index e5eb9df9b3..3ccf6c0063 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -873,7 +873,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
{
if(!conditional)
{
- return info.device()->data(QString(element->tag->name));
+ return info.device()->data(QString(element->tag->name),
+ element->params_count, element->params);
}
else
{
@@ -886,7 +887,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
int child;
QVariant val = info.device()->data("?" + QString(element->tag->name));
if(val.isNull())
- val = info.device()->data(QString(element->tag->name));
+ val = info.device()->data(QString(element->tag->name),
+ element->params_count, element->params);
if(val.isNull())
{