update bundled user-agent for lite builds

This commit is contained in:
Martin Rotter 2024-03-18 08:26:15 +01:00
parent 3b19a66dd4
commit ee228c9167

View File

@ -194,9 +194,9 @@
(qApp->web()->engineProfile()->httpUserAgent().toLocal8Bit() + QByteArrayLiteral(" ") + \
QByteArrayLiteral(APP_USERAGENT))
#else
#define HTTP_COMPLETE_USERAGENT \
(QByteArrayLiteral("Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " \
"QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36 ") + \
#define HTTP_COMPLETE_USERAGENT \
(QByteArrayLiteral("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " \
"Chrome/122.0.0.0 Safari/537.36 ") + \
QByteArrayLiteral(APP_USERAGENT))
#endif