Skip to content

Commit

Permalink
Merge pull request #7985 from nextcloud/backport/7983/stable-3.16
Browse files Browse the repository at this point in the history
[stable-3.16] remove unused capture of this in one lambda
  • Loading branch information
mgallien authored Mar 7, 2025
2 parents 6c22062 + 8096427 commit d704434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/accessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ AccessManager::AccessManager(QObject *parent)
: QNetworkAccessManager(parent)
{
setCookieJar(new CookieJar);
connect(this, &QNetworkAccessManager::authenticationRequired, this, [this](QNetworkReply *reply, QAuthenticator *authenticator) {
connect(this, &QNetworkAccessManager::authenticationRequired, this, [](QNetworkReply *reply, QAuthenticator *authenticator) {
if (authenticator->user().isEmpty()) {
qCWarning(lcAccessManager) << "Server requested authentication and we didn't provide a user, aborting ...";
authenticator->setUser(QUuid::createUuid().toString());
Expand Down

0 comments on commit d704434

Please sign in to comment.