Skip to content

Commit

Permalink
remove unused capture of this in one lambda
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Mar 7, 2025
1 parent 04ba106 commit cbec61a
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 cbec61a

Please sign in to comment.