summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-04 04:12:23 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-04 04:12:23 +0000
commit90c6afc471fdb1a7761a1fab5094a25299018ec1 (patch)
tree08a93940a1157dac6ce7ae799c650524d8715d49
parent4589c696625ee57ddcf002a98b35730dca056d7a (diff)
downloadamarok-90c6afc471fdb1a7761a1fab5094a25299018ec1.tar.gz
amarok-90c6afc471fdb1a7761a1fab5094a25299018ec1.zip
Fix Russian string handling from Wiki in Amarok
Thanks to Ilya for the patch idea! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1251260 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 8c230bb2..6e4e9109 100644
--- a/amarok/src/contextbrowser.cpp
+++ b/amarok/src/contextbrowser.cpp
@@ -4136,7 +4136,7 @@ ContextBrowser::wikiResult( KIO::Job* job ) //SLOT
m_wikiToolBar->setItemEnabled( WIKI_BROWSER, true );
// FIXME: Get a safer Regexp here, to match only inside of <head> </head> at least.
- if ( m_wiki.contains( "charset=utf-8" ) ) {
+ if ( m_wiki.contains( "charset=utf-8", FALSE ) ) {
m_wiki = TQString::fromUtf8( storedJob->data().data(), storedJob->data().size() );
}