[mythtv-commits] Ticket #6782: MythWeather only allows one location/source per screen type.

MythTV mythtv at cvs.mythtv.org
Fri Jul 31 02:08:03 UTC 2009


#6782: MythWeather only allows one location/source per screen type.
----------------------------------------------+-----------------------------
 Reporter:  Marc Alban <marcalban at gmail.com>  |       Owner:  ijr 
     Type:  patch                             |      Status:  new 
 Priority:  minor                             |   Milestone:  0.22
Component:  Plugin - MythWeather              |     Version:  head
 Severity:  medium                            |     Mlocked:  0   
----------------------------------------------+-----------------------------
 On the trunk MythWeather is only allowing one location/source per screen
 type.

 If you add two or more screens of the same type, MythWeather works
 correctly until you exit MythWeather and reenter.  When you reenter all
 screens that have the same type contain data for the screen with the
 greatest draw order.

 This is caused because of the way the 'ScreenListInfo' object is created
 and accessed.

 Using a copy constructor when loading the screen data instead of pointer
 assignment fixes the problem.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6782>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list