summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslsocket.cpp
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2010-02-01 08:08:22 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2010-02-01 08:08:22 (GMT)
commit4a83af372b965b6dbe25f6a08e14aee09bb9355e (patch)
treeb0d7fc6eee76b65ee7e836b871f7b28e1ad2bc5c /src/network/ssl/qsslsocket.cpp
parent465a63d00c2294641539af820435a9a4315f0251 (diff)
parent37f1aec1a4e71a7102e8cd2e2908c8d3be7e29f5 (diff)
downloadQt-4a83af372b965b6dbe25f6a08e14aee09bb9355e.zip
Qt-4a83af372b965b6dbe25f6a08e14aee09bb9355e.tar.gz
Qt-4a83af372b965b6dbe25f6a08e14aee09bb9355e.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6
Diffstat (limited to 'src/network/ssl/qsslsocket.cpp')
-rw-r--r--src/network/ssl/qsslsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp
index 6947aa7..9623570 100644
--- a/src/network/ssl/qsslsocket.cpp
+++ b/src/network/ssl/qsslsocket.cpp
@@ -1109,7 +1109,7 @@ void QSslSocket::setCiphers(const QString &ciphers)
{
Q_D(QSslSocket);
d->configuration.ciphers.clear();
- foreach (QString cipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) {
+ foreach (const QString &cipherName, ciphers.split(QLatin1String(":"),QString::SkipEmptyParts)) {
for (int i = 0; i < 3; ++i) {
// ### Crude
QSslCipher cipher(cipherName, QSsl::SslProtocol(i));