From de9ba10aabdbc3224194f6859f2e4f60ac98ceb5 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Wed, 7 Jul 2010 20:56:16 +0000 Subject: Theme Editor: Made auto-expand/highlight of parse tree optional (through preferences dialog), added Simulation Time variable to device config panel, subline alternation is now dependent on that rather than time in song git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27342 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/models/parsetreenode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/themeeditor/models/parsetreenode.cpp') diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index c284b16..b2b5fbb 100644 --- a/utils/themeeditor/models/parsetreenode.cpp +++ b/utils/themeeditor/models/parsetreenode.cpp @@ -553,7 +553,7 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport, times.append(findBranchTime(children[i], info)); /* Now we figure out which branch to select */ - double timeLeft = info.device()->data(QString("?pc")).toDouble(); + double timeLeft = info.device()->data(QString("simtime")).toDouble(); int branch = 0; while(timeLeft > 0) { -- cgit v1.1