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
v3.5.13-sru
tpearson 13 years ago
parent 4589c69662
commit 90c6afc471

@ -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() );
}

Loading…
Cancel
Save