[mythtv-commits] Ticket #4503: Guide shows duplicate channels after multirec if channum's are the same

MythTV mythtv at cvs.mythtv.org
Sun Jan 20 21:06:31 UTC 2008


#4503: Guide shows duplicate channels after multirec if channum's are the same
-----------------------------------------------------+----------------------
 Reporter:  Mark Buechler <Mark.Buechler at gmail.com>  |        Owner:  ijr    
     Type:  defect                                   |       Status:  new    
 Priority:  minor                                    |    Milestone:  unknown
Component:  mythtv                                   |      Version:  head   
 Severity:  medium                                   |   Resolution:         
  Mlocked:  0                                        |  
-----------------------------------------------------+----------------------

Comment(by Mark Buechler <Mark.Buechler at gmail.com>):

 This patch seems to fix the issue, but I doubt it's correct:

 --- guidegrid.cpp       2008-01-18 12:22:27.000000000 -0500
 +++ guidegrid.cpp.new   2008-01-20 16:04:11.000000000 -0500
 @@ -1357,9 +1357,9 @@ bool GuideGrid::paintChannels(QPainter *
              if (alt != m_channelInfoIdx[chanNumber])
              {
                  unavailable = false;
 -                m_channelInfoIdx[chanNumber] = alt;
 +//                m_channelInfoIdx[chanNumber] = alt;
                  chinfo = GetChannelInfo(chanNumber);
 -                channelsChanged = true;
 +//                channelsChanged = true;
              }

              // Try alternates with different channum if applicable

 Also, the second call "chinfo = GetChannelInfo(chanNumber);" in
 ::paintChannels() is redundant since chanNumber doesn't change between the
 first and second call.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4503#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list