[mythtv] [PATCH] Fixes to the DVB Channel editor

Isaac Richards ijr at po.cwru.edu
Wed Dec 31 22:45:10 EST 2003


On Wednesday 31 December 2003 08:24 pm, John Pullan wrote:
> This patch does the following:
>
> Lets videosource.cpp compile in DVB mode :-)
> Allows more than one new channel to be created & edited
> Shortens the "No Satellites Configured" to "None Configured"
> Fixes the sorting of channels by channel number
> Alters the formating of the channel numbers.
> Reloads the channel list when "hide channels without channel number" is
> changed.

+                if (channum != "") {
+                    //Need to format the channum a bit 
+                    int chan = channum.toUInt();
+                    channum.sprintf("%3d",chan);
+                    name = channum+"."+name;
+                }

Channum's can be strings, not just numbers, so I left this bit out and applied 
the rest.

Isaac


More information about the mythtv-dev mailing list