[mythtv-commits] Ticket #7815: Terra theme uses UTF-8 in "Playback starting" message

MythTV mythtv at cvs.mythtv.org
Mon Dec 28 18:12:34 UTC 2009


#7815: Terra theme uses UTF-8 in "Playback starting" message
---------------------------------------+------------------------------------
 Reporter:  malcolm.parsons@…          |       Owner:  ijr       
     Type:  defect                     |      Status:  new       
 Priority:  trivial                    |   Milestone:  0.22.1    
Component:  Themes                     |     Version:  0.22-fixes
 Severity:  low                        |     Mlocked:  0         
---------------------------------------+------------------------------------

Comment(by stuartm):

 Nice catch, we don't want to use the value from translate() when it's
 untranslated.
 {{{
 m_Message = qApp->translate("ThemeUI", qPrintable(getFirstText(element)));
 QString tmp = getFirstText(element);
 if (m_Message == qPrintable(tmp))
     m_Message = tmp;
 }}}

 is a little messy, but the only solution I can see right now.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7815#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list