From 6903af0d0575c58dc09699cb8b5757addca3b05a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 25 Dec 2016 12:35:13 +0000 Subject: http: fixed error message charset git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6919 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Transports/http/httpstreamreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/Transports/http/httpstreamreader.cpp b/src/plugins/Transports/http/httpstreamreader.cpp index 52fddd84f..7e2c018af 100644 --- a/src/plugins/Transports/http/httpstreamreader.cpp +++ b/src/plugins/Transports/http/httpstreamreader.cpp @@ -352,7 +352,7 @@ void HttpStreamReader::run() qDebug("HttpStreamReader: curl thread finished with code %d (%s)", return_code, errorBuffer); if(!m_stream.aborted && !m_ready) { - setErrorString(errorBuffer); + setErrorString(QString::fromLocal8Bit(errorBuffer)); emit error(); QIODevice::close(); } -- cgit v1.2.3-13-gbd6f