[mythtv] patch for mythgame

Dan Conti dconti at acm.wwu.edu
Mon Feb 17 23:16:38 EST 2003


I noticed if you hit 'e' on the "All Games" in mythgame it dropped a
segfault. The problem is that it goes to configure "All Games" as if it
were a system. Changing the 'level' named seem to fix this ("base" is
arbitrary)


Index: mythgame/databasebox.cpp
===================================================================
RCS file: /var/lib/cvs/mythgame/mythgame/databasebox.cpp,v
retrieving revision 1.10
diff -u -r1.10 databasebox.cpp
--- mythgame/databasebox.cpp    10 Feb 2003 15:53:00 -0000      1.10
+++ mythgame/databasebox.cpp    18 Feb 2003 07:11:20 -0000
@@ -48,7 +48,7 @@

 void DatabaseBox::fillList(QListView *listview, QString &paths)
 {
-    QString templevel = "system";
+    QString templevel = "base";
     QString temptitle = "All Games";
     TreeItem *allgames = new TreeItem(listview, temptitle, templevel,
NULL);

Index: mythgame/screenbox.cpp
===================================================================
RCS file: /var/lib/cvs/mythgame/mythgame/screenbox.cpp,v
retrieving revision 1.6
diff -u -r1.6 screenbox.cpp
--- mythgame/screenbox.cpp      10 Feb 2003 15:53:00 -0000      1.6
+++ mythgame/screenbox.cpp      18 Feb 2003 07:11:20 -0000
@@ -68,7 +68,7 @@

 void ScreenBox::fillList(QListView *listview, QString &paths)
 {
-    QString templevel = "system";
+    QString templevel = "base";
     QString temptitle = "All Games";
     TreeItem *allgames = new TreeItem(listview, temptitle, templevel,
NULL);




More information about the mythtv-dev mailing list