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 14 years ago
parent 3a09386ad1
commit 052e80ac03

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

Loading…
Cancel
Save