mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Theme Editor: RTC tags will now display nothing if RTC is not available on device
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27793 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f055ceeac6
commit
f4c06f3434
1 changed files with 3 additions and 0 deletions
|
@ -935,6 +935,9 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
|
|||
{
|
||||
if(!conditional)
|
||||
{
|
||||
if(element->tag->name[0] == 'c' && !info.device()->data("cc").toBool())
|
||||
return QString();
|
||||
|
||||
if(QString(element->tag->name) == "Sx")
|
||||
return element->params[0].data.text;
|
||||
return info.device()->data(QString(element->tag->name),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue