summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlxmlhttprequest.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-12-04 14:31:17 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-12-04 14:31:17 (GMT)
commite524071986aba68956ff4cf18439e3d61ff90ec4 (patch)
tree5c7e609be153c4f0cbb708e6315d57fc1f9cf16b /src/declarative/qml/qmlxmlhttprequest.cpp
parentee9aee5d85345880d8269c02cfd3c2d86e89c9d3 (diff)
downloadQt-e524071986aba68956ff4cf18439e3d61ff90ec4.zip
Qt-e524071986aba68956ff4cf18439e3d61ff90ec4.tar.gz
Qt-e524071986aba68956ff4cf18439e3d61ff90ec4.tar.bz2
small cleanup
make use of QVariant::userType over Qvariant::type make use of char for 1-string character QCoreApplication::translate is static
Diffstat (limited to 'src/declarative/qml/qmlxmlhttprequest.cpp')
-rw-r--r--src/declarative/qml/qmlxmlhttprequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlxmlhttprequest.cpp b/src/declarative/qml/qmlxmlhttprequest.cpp
index d1705a1..a5d6cd7 100644
--- a/src/declarative/qml/qmlxmlhttprequest.cpp
+++ b/src/declarative/qml/qmlxmlhttprequest.cpp
@@ -1053,7 +1053,7 @@ void QmlXMLHttpRequest::addHeader(const QString &name, const QString &value)
QByteArray utfname = name.toUtf8();
if (m_request.hasRawHeader(utfname)) {
- m_request.setRawHeader(utfname, m_request.rawHeader(utfname) + "," + value.toUtf8());
+ m_request.setRawHeader(utfname, m_request.rawHeader(utfname) + ',' + value.toUtf8());
} else {
m_request.setRawHeader(utfname, value.toUtf8());
}