diff options
| author | 2016-04-30 18:48:40 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:45 +0100 | |
| commit | 97ecdf6a1b7f95bc1b342b3eaf141cd460249680 (patch) | |
| tree | dfa139170f95eeda51f241580cc019ab0f4684d8 /src/modules/objects/qthttp/qhttpauthenticator.cpp | |
| parent | Apply clang-tidy: modernize-use-default (diff) | |
| download | KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.gz KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.bz2 KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.zip | |
Apply clang-tidy: modernize-loop-convert
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(); |
