Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
plasma5-desktop
0003-Fix-missing-variable-name.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Fix-missing-variable-name.patch of Package plasma5-desktop
From 062ca1e090d09c18340f8b97f1da982a1393e9fa Mon Sep 17 00:00:00 2001 From: Dan Leinir Turthra Jensen <admin@leinir.dk> Date: Tue, 8 Feb 2022 11:21:17 +0000 Subject: [PATCH 3/5] Fix missing variable name (cherry picked from commit 8e164050c594855ee3728678d6d0907a10b28db6) --- attica-kde/kdeplugin/kdeplatformdependent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attica-kde/kdeplugin/kdeplatformdependent.cpp b/attica-kde/kdeplugin/kdeplatformdependent.cpp index c0faa2b0c..9864756ca 100644 --- a/attica-kde/kdeplugin/kdeplatformdependent.cpp +++ b/attica-kde/kdeplugin/kdeplatformdependent.cpp @@ -98,11 +98,11 @@ QNetworkRequest KdePlatformDependent::removeAuthFromRequest(const QNetworkReques notConstReq.setAttribute(QNetworkRequest::User, noauth); // 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{ QLatin1String{"/content/categories"} } for (const QString &endpoint : preferCacheEndpoints) { - if (notConstReq.url().endsWith()) { + if (notConstReq.url().endsWith(endpoint)) { notConstReq.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache); break; } -- 2.33.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor