aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Transports
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-07-13 15:43:00 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-07-13 15:43:00 +0000
commit62ab9cbe0c8cbeb6f1a0780b05691210486b33c6 (patch)
treeefa6d00eff290c8b343e083d8fbb57ecc55a5d0d /src/plugins/Transports
parentdf17e441b8d95484f87a90e89dc80c0d6025d7a9 (diff)
downloadqmmp-62ab9cbe0c8cbeb6f1a0780b05691210486b33c6.tar.gz
qmmp-62ab9cbe0c8cbeb6f1a0780b05691210486b33c6.tar.bz2
qmmp-62ab9cbe0c8cbeb6f1a0780b05691210486b33c6.zip
fixed automatic charset detection
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2797 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Transports')
-rw-r--r--src/plugins/Transports/http/httpstreamreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Transports/http/httpstreamreader.cpp b/src/plugins/Transports/http/httpstreamreader.cpp
index 0013eb3b5..1bc8b30d2 100644
--- a/src/plugins/Transports/http/httpstreamreader.cpp
+++ b/src/plugins/Transports/http/httpstreamreader.cpp
@@ -129,6 +129,7 @@ HttpStreamReader::HttpStreamReader(const QString &url, QObject *parent)
m_analyser = 0;
if(settings.value("use_enca", false).toBool())
m_analyser = enca_analyser_alloc(settings.value("enca_lang").toByteArray ().constData());
+ enca_set_threshold(m_analyser, 1.38);
#endif
settings.endGroup();
}