vlc | branch: master | Francois Cartegnie <[email protected]> | Fri Apr 8 12:42:11 2011 +0200| [8f5480c69ca58055b36ed918ed5b3d1c797b3dae] | committer: Francois Cartegnie
Qt: epgchannels: split string on bracket. [Program xxx] is a translated string. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f5480c69ca58055b36ed918ed5b3d1c797b3dae --- modules/gui/qt4/components/epg/EPGChannels.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/gui/qt4/components/epg/EPGChannels.cpp b/modules/gui/qt4/components/epg/EPGChannels.cpp index 42ba619..73c2531 100644 --- a/modules/gui/qt4/components/epg/EPGChannels.cpp +++ b/modules/gui/qt4/components/epg/EPGChannels.cpp @@ -67,7 +67,7 @@ void EPGChannels::paintEvent( QPaintEvent *event ) foreach( QString text, channelList ) { /* try to remove the " [Program xxx]" end */ - int i_idx_channel = text.lastIndexOf(" [Program "); + int i_idx_channel = text.lastIndexOf(" ["); if (i_idx_channel > 0) text = text.left( i_idx_channel ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
