Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 64bc2c1ece402a3bf975c32d9e37c2a5 > files > 11

amarok-1.4.8-12mdv2008.1.src.rpm

--- amarok/src/playlistbrowseritem.cpp	2008/03/15 11:05:38	785869
+++ amarok/src/playlistbrowseritem.cpp	2008/03/15 11:06:46	785870
@@ -1852,10 +1852,10 @@
         return;
     }
 
-    QDomNode type = d.namedItem("rss");
+    QDomNode type = d.elementsByTagName("rss").item( 0 );
     if( type.isNull() || type.toElement().attribute( "version" ) != "2.0" )
     {
-        type = d.namedItem("feed");
+        type = d.elementsByTagName("feed").item( 0 );
         if( type.isNull() )
         {
             Amarok::StatusBar::instance()->shortMessage( i18n("Sorry, only RSS 2.0 or Atom feeds for podcasts!") );
@@ -2358,6 +2358,7 @@
       , m_parent( parent )
       , m_fetching( false )
       , m_onDisk( false )
+      , m_localUrl( KURL() )
 {
     const bool isAtom = ( feedType == ATOM );
     QString title = xml.namedItem( "title" ).toElement().text().remove("\n");