- add patch for artist lookup from wikipedia

This commit is contained in:
Michael Landin 2009-02-05 14:18:49 +00:00
parent 38beb49a89
commit 3010b62de9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227669
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- amarok/src/contextbrowser.cpp.orig
+++ amarok/src/contextbrowser.cpp
@@ -4189,7 +4189,7 @@
}
// 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\"" ) );
m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
// Adding back license information
m_wiki += copyright;

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- amarok/src/contextbrowser.cpp.orig
+++ amarok/src/contextbrowser.cpp
@@ -4189,7 +4189,7 @@
}
// 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\"" ) );
m_wiki = m_wiki.mid( 0, m_wiki.find( "<div class=\"printfooter\">" ) );
// Adding back license information
m_wiki += copyright;