updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / qsopcast-qt4 / qstring.patch
blob48fd87faf0cfa1ff82e0b8ad9f34e5f504105d6f
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
3 @@ -277,9 +277,9 @@
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;
15 @@ -315,9 +315,9 @@
17 /// append channel
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 );