[vlc-commits] Qt: epgchannels: split string on bracket.
Francois Cartegnie
git at videolan.org
Sun Apr 10 16:16:56 CEST 2011
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | 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 );
More information about the vlc-commits
mailing list