summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 9cc73ce..c7df4a4 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -1007,17 +1007,17 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
else
child = 1;
}
- else if(val.type() == QVariant::String)
+ else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I'
+ || element->tag->name[0] == 'f' || element->tag->name[0] == 'F')
{
- if(val.toString().length() > 0)
+ if(info.device()->data("id3available").toBool())
child = 0;
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')
+ else if(val.type() == QVariant::String)
{
- if(info.device()->data("id3available").toBool())
+ if(val.toString().length() > 0)
child = 0;
else
child = 1;