Commit 8f5480c6 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: epgchannels: split string on bracket.

[Program xxx] is a translated string.
parent 3cb4988a
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment