summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 07:38:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 07:38:24 +0000
commit052e80ac03e3c56c9b14549783f79ed255cd15ac (patch)
tree963f1b0cef7f32bae7fd9891957c9729619dd522
parent3a09386ad170dafdce88c5dcd70275cc7d4081e9 (diff)
downloadamarok-052e80ac.tar.gz
amarok-052e80ac.zip
Wikipedia fetching fix for Amarok
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1172405 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--amarok/src/contextbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/amarok/src/contextbrowser.cpp b/amarok/src/contextbrowser.cpp
index c8dd58d4..b03685fa 100644
--- a/amarok/src/contextbrowser.cpp
+++ b/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;