The attached patch fixes a problem I stumbled upon caused by the
recently added support for Parental Level settings in the video list
view -- changing the level from within the list view did not work and
resulted in an empty list.
-- Bob
Index: mythvideo/videotree.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythvideo/mythvideo/videotree.cpp,v
retrieving revision 1.40
diff -u -r1.40 videotree.cpp
--- mythvideo/videotree.cpp 28 Mar 2005 19:49:07 -0000 1.40
+++ mythvideo/videotree.cpp 5 Apr 2005 17:03:51 -0000
@@ -214,7 +214,10 @@
{
current_parental_level = which_level;
pl_value->SetText(QString("%1").arg(current_parental_level));
- video_tree_data->deleteAllChildren();
+ video_tree_data = NULL;
+ video_tree_root->deleteAllChildren();
+ browser_mode_files.clear();
+
buildVideoList();
//
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev