diff options
author | Oleksii Lysenko <lysenkoalexmail@gmail.com> | 2021-06-08 17:31:34 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-06-10 16:40:58 +0300 |
commit | 188ab2a540dc22899c7e42324c24fa7a6791613c (patch) | |
tree | 8fe1b90b16245ccf5ebcc59531f34f4708698af1 /src/gui/ocsjob.cpp | |
parent | af0af70bb95d10263e53eca243993eafd86a78ea (diff) |
Removed obsolete Q_FOREACH macro
Diffstat (limited to 'src/gui/ocsjob.cpp')
-rw-r--r-- | src/gui/ocsjob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ocsjob.cpp b/src/gui/ocsjob.cpp index 6793bf09e..66cca9f0d 100644 --- a/src/gui/ocsjob.cpp +++ b/src/gui/ocsjob.cpp @@ -80,7 +80,7 @@ void OcsJob::start() } else if (_verb == "POST" || _verb == "PUT") { // Url encode the _postParams and put them in a buffer. QByteArray postData; - Q_FOREACH (auto tmp, _params) { + for (const auto &tmp : qAsConst(_params)) { if (!postData.isEmpty()) { postData.append("&"); } |