From 13655c900f4725ea818011405e852c8ae42ef249 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 24 Jul 2020 11:38:11 +0200 Subject: [PATCH] conn --- src/librssguard/network-web/oauth2service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librssguard/network-web/oauth2service.cpp b/src/librssguard/network-web/oauth2service.cpp index 6278324ab..07fd3ddf3 100644 --- a/src/librssguard/network-web/oauth2service.cpp +++ b/src/librssguard/network-web/oauth2service.cpp @@ -55,7 +55,7 @@ OAuth2Service::OAuth2Service(const QString& auth_url, const QString& token_url, m_clientSecret = client_secret; m_scope = scope; - connect(&m_networkManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(tokenRequestFinished(QNetworkReply*))); + connect(&m_networkManager, &QNetworkAccessManager::finished, this, &OAuth2Service::tokenRequestFinished); connect(m_redirectionHandler, &OAuthHttpHandler::authGranted, [this](const QString& auth_code, const QString& id) { if (id.isEmpty() || id == m_id) { // We process this further only if handler (static singleton) responded to our original request.