summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-08 06:54:08 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-08 06:54:08 +0000
commit6358d41f31edd6487ee76232c55d5b7385426be3 (patch)
treec58eb0a6580018cffa9cc727765eeb3d2a3971b9 /utils/themeeditor/models/parsetreenode.cpp
parenteb93e3b3d26ce31407a302f49c70770ad3f98274 (diff)
downloadrockbox-6358d41f31edd6487ee76232c55d5b7385426be3.tar.gz
rockbox-6358d41f31edd6487ee76232c55d5b7385426be3.tar.bz2
rockbox-6358d41f31edd6487ee76232c55d5b7385426be3.zip
Theme Editor: Began working on special cases for device option panel. Implemented path info for current and next file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-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())
{