Skip to content

Commit

Permalink
Add support for nodetype statetype to video Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Feb 7, 2012
1 parent 40c0606 commit a7b6c2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythfrontend/videolist.cpp
Expand Up @@ -300,6 +300,7 @@ static MythGenericTree *AddDirNode(MythGenericTree *where_to_add,
sub_node->setOrderingIndex(kNodeSort);
sub_node->SetData(QVariant::fromValue(TreeNodeData(fqPath, host, prefix)));
sub_node->SetText(name, "title");
sub_node->DisplayState("subfolder", "nodetype");

// ...and the updir node.
if (add_up_dirs)
Expand All @@ -309,6 +310,7 @@ static MythGenericTree *AddDirNode(MythGenericTree *where_to_add,
true, false);
up_node->setAttribute(kNodeSort, kOrderUp);
up_node->setOrderingIndex(kNodeSort);
up_node->DisplayState("subfolder", "nodetype");
}

return sub_node;
Expand Down

0 comments on commit a7b6c2a

Please sign in to comment.