Skip to content

Commit

Permalink
Fix typo in QQmlXMLHttpRequest::readEncoding()
Browse files Browse the repository at this point in the history
Change-Id: I266de531c12a4b88db722f220d7693f0b6bae7ff
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
  • Loading branch information
Kent Hansen authored and Qt by Nokia committed Mar 19, 2012
1 parent 2515f85 commit cca3f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/qml/qqmlxmlhttprequest.cpp
Expand Up @@ -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=");
Expand Down

0 comments on commit cca3f8b

Please sign in to comment.