1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Robert Bieber 2010-07-08 06:54:08 +00:00
parent eb93e3b3d2
commit 6358d41f31
4 changed files with 67 additions and 21 deletions

View file

@ -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())
{