Commit 8e164050 authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Fix missing variable name

parent 798027fd
Pipeline #134796 passed with stage
in 3 minutes and 30 seconds
......@@ -128,11 +128,11 @@ QNetworkRequest KdePlatformDependent::addOAuthToRequest(const QNetworkRequest &r
notConstReq.setAttribute(QNetworkRequest::Http2AllowedAttribute, true);
// Add cache preference in a granular fashion (we will almost certainly want more of these, but...)
static const QList<QString> preferCacheEndpoints{
static const QStringList preferCacheEndpoints{
  • Not sure how CI works but looks like there is a missing ';' here.

  • There is indeed - fixed in 6e8626f2 (not sure how any of that slipped in, other than, i guess, me having been busy doing a load of other things and somehow missing that ci was somehow returning a false positive...)

Please register or sign in to reply
for (const QString &endpoint : preferCacheEndpoints) {
if (notConstReq.url().endsWith()) {
if (notConstReq.url().endsWith(endpoint)) {
notConstReq.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment