Browse Source

Wikipedia fetching fix for Amarok

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1172405 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 12 years ago
parent
commit
052e80ac03
  1. 2
      amarok/src/contextbrowser.cpp

2
amarok/src/contextbrowser.cpp

@ -4189,7 +4189,7 @@ ContextBrowser::wikiResult( KIO::Job* job ) //SLOT
}
// Ok lets remove the top and bottom parts of the page
m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\" class=\"firstHeading\">" ) );
m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
// Adding back license information
m_wiki += copyright;

Loading…
Cancel
Save