Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO

This commit is contained in:
luisangelsm
2026-03-30 15:48:02 +02:00
parent 12a5949b16
commit e6cbfa634b
49 changed files with 227 additions and 204 deletions

View File

@ -4,6 +4,7 @@
*/
#include "httpcookie.h"
#include <utility>
using namespace stefanfrings;
@ -37,7 +38,7 @@ HttpCookie::HttpCookie(const QByteArray source)
secure=false;
httpOnly=false;
QList<QByteArray> list=splitCSV(source);
foreach(QByteArray part, list)
for (const QByteArray &part : std::as_const(list))
{
// Split the part into name and value