From cca3f8bbdaf703fdf3c524fbe150444e3d07b9d4 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Wed, 7 Mar 2012 14:15:44 +0100 Subject: [PATCH] Fix typo in QQmlXMLHttpRequest::readEncoding() Change-Id: I266de531c12a4b88db722f220d7693f0b6bae7ff Reviewed-by: Michael Brasser --- src/qml/qml/qqmlxmlhttprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/qml/qqmlxmlhttprequest.cpp b/src/qml/qml/qqmlxmlhttprequest.cpp index 122693ad91..f575f06d84 100644 --- a/src/qml/qml/qqmlxmlhttprequest.cpp +++ b/src/qml/qml/qqmlxmlhttprequest.cpp @@ -1386,7 +1386,7 @@ void QQmlXMLHttpRequest::readEncoding() if (header.first == "content-type") { int separatorIdx = header.second.indexOf(';'); if (separatorIdx == -1) { - m_mime == header.second; + m_mime = header.second; } else { m_mime = header.second.mid(0, separatorIdx); int charsetIdx = header.second.indexOf("charset=");