diff options
Diffstat (limited to 'src/modules/objects/qthttp/qhttpauthenticator.cpp')
| -rw-r--r-- | src/modules/objects/qthttp/qhttpauthenticator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/objects/qthttp/qhttpauthenticator.cpp b/src/modules/objects/qthttp/qhttpauthenticator.cpp index 9cb7b8d6a..c6063c6c4 100644 --- a/src/modules/objects/qthttp/qhttpauthenticator.cpp +++ b/src/modules/objects/qthttp/qhttpauthenticator.cpp @@ -388,9 +388,8 @@ void QHttpAuthenticatorPrivate::parseHttpResponse(const QList<QPair<QByteArray, */ QByteArray headerVal; - for(int i = 0; i < values.size(); ++i) + for(const auto & current : values) { - const QPair<QByteArray, QByteArray> & current = values.at(i); if(current.first.toLower() != search) continue; QByteArray str = current.second.toLower(); |
