From 6358d41f31edd6487ee76232c55d5b7385426be3 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Thu, 8 Jul 2010 06:54:08 +0000 Subject: 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 --- utils/themeeditor/models/parsetreenode.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'utils/themeeditor/models/parsetreenode.cpp') diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index e5eb9df..3ccf6c0 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()) { -- cgit v1.1