diff options
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
| -rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index 25cae58..f5a7e81 100644 --- a/utils/themeeditor/models/parsetreenode.cpp +++ b/utils/themeeditor/models/parsetreenode.cpp @@ -906,6 +906,14 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional, else child = 1; } + else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I' + || element->tag->name[0] == 'f' || element->tag->name[0] == 'F') + { + if(info.device()->data("id3available").toBool()) + child = 0; + else + child = 1; + } else { child = val.toInt(); |