[mythtv] [PATCH]change made in dbver 1024 not reflected in channelsettings.cpp

Steve Brown sbrown at cortland.com
Wed Jan 21 10:10:17 EST 2004


This fixes a problem populating the satellite combo box when 
editing/adding a dvb channel. It's against the current cvs.

This was my first chance to exercise the dvb code since last October. 
What a difference!

Great work Kenneth, et.al.

Steve

-------------- next part --------------
diff -u -r1.4 channelsettings.cpp
--- libs/libmythtv/channelsettings.cpp  3 Jan 2004 02:58:03 -0000       1.4
+++ libs/libmythtv/channelsettings.cpp  21 Jan 2004 13:39:10 -0000
@@ -228,7 +228,7 @@
         clearSelections();
         QSqlQuery query = db->exec(QString(
             "SELECT dvb_sat.name,dvb_sat.satid FROM dvb_sat,channel"
-            " WHERE dvb_sat.sourceid=channel.sourceid AND channel.chanid='%1'")
+            " WHERE dvb_sat.cardid=channel.sourceid AND channel.chanid='%1'")
             .arg(id.getValue()));
         if (!query.isActive())
             MythContext::DBError("DvbSatellite::fillSelections", query);



More information about the mythtv-dev mailing list