From 92bafb5f0efc526b1f83cd5fb9460443c4b13dca Mon Sep 17 00:00:00 2001 From: root Date: Fri, 3 Aug 2012 00:01:47 +0000 Subject: Fri Aug 3 00:01:47 UTC 2012 --- community-testing/audex/google_regex.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 community-testing/audex/google_regex.patch (limited to 'community-testing/audex/google_regex.patch') diff --git a/community-testing/audex/google_regex.patch b/community-testing/audex/google_regex.patch new file mode 100644 index 000000000..86917e66f --- /dev/null +++ b/community-testing/audex/google_regex.patch @@ -0,0 +1,14 @@ +--- audex-0.74b1/utils/coverfetcher.cpp 2011-01-15 12:06:25.000000000 +0100 ++++ audex-0.74b1/utils/coverfetcher_new.cpp 2011-07-20 18:43:37.554588883 +0200 +@@ -162,7 +162,10 @@ + cover_tbnids.clear(); + cover_thumbnails.clear(); + +- QRegExp rx("[\\s\\n]*[\\s\\n]*"); ++ QRegExp rx("[\\s\\n]*]+src=\"([^>]+)\">"); ++ QString html = xml; ++ html.replace( QLatin1String("&"), QLatin1String("&") ); ++ + rx.setMinimal(TRUE); + + int pos = 0; int i = 0; -- cgit v1.2.3-54-g00ecf