1 --- src/channel_sopcast.cpp 2010-06-23 14:49:16.813422807 +0200
2 +++ src/channel_sopcast.cpp.new 2010-06-23 14:51:57.516773741 +0200
4 while ( !namenode.isNull() ) {
5 if ( namenode.nodeName() == "name" ) {
6 QString channelname = namenode.attributes().namedItem( "cn" ).nodeValue();
7 - if ( channelname == QString::QString() ) {
8 + if ( channelname == QString() ) {
9 channelname = namenode.attributes().namedItem( "en" ).nodeValue();
10 - if ( channelname == QString::QString() )
11 + if ( channelname == QString() )
12 channelname = namenode.firstChild().nodeValue();
14 channel->m_name = channelname;
18 QString groupname = groupnode.attributes().namedItem( "cn" ).nodeValue();
19 - if ( groupname == QString::QString() ) {
20 + if ( groupname == QString() ) {
21 groupname = groupnode.attributes().namedItem( "en" ).nodeValue();
22 - if ( groupname == QString::QString() )
23 + if ( groupname == QString() )
24 groupname = groupnode.firstChild().nodeValue();
26 channels[ groupname ].append( channel );