diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-01-04 14:51:23 -0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-04 21:02:01 +0100 |
commit | a58e0b397896bce698de928a7eba6d69fb8aa8ba (patch) | |
tree | 5163b2ea5389c54aacef7b991358a0ec8a28e8d4 /src | |
parent | 99f138ad08101315cc871489c78cd10755b046b0 (diff) |
Fix mistake in using == instead of =
Found by clang:
qml/qdeclarativexmlhttprequest.cpp:1324:24: error: equality comparison result unused [-Werror,-Wunused-comparison]
Change-Id: Ie46678d6102f2e50bf87a53a9cbc14d114b4e334
Reviewed-by: Alan Alpert <aalpert@rim.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qdeclarativexmlhttprequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativexmlhttprequest.cpp b/src/declarative/qml/qdeclarativexmlhttprequest.cpp index bb16a9c1..dd091ca7 100644 --- a/src/declarative/qml/qdeclarativexmlhttprequest.cpp +++ b/src/declarative/qml/qdeclarativexmlhttprequest.cpp @@ -1321,7 +1321,7 @@ void QDeclarativeXMLHttpRequest::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="); |