diff --git a/src/core/oauthenticator.cpp b/src/core/oauthenticator.cpp index cc1ae6fcc..e60127b9d 100644 --- a/src/core/oauthenticator.cpp +++ b/src/core/oauthenticator.cpp @@ -72,7 +72,7 @@ OAuthenticator::OAuthenticator(const SharedPtr network, QO user_id_(0) { timer_refresh_login_->setSingleShot(true); - QObject::connect(timer_refresh_login_, &QTimer::timeout, this, &OAuthenticator::RenewAccessToken); + QObject::connect(timer_refresh_login_, &QTimer::timeout, this, &OAuthenticator::RerefreshAccessToken); } @@ -430,7 +430,7 @@ void OAuthenticator::RequestAccessToken(const QString &code, const QUrl &redirec } -void OAuthenticator::RenewAccessToken() { +void OAuthenticator::RerefreshAccessToken() { if (timer_refresh_login_->isActive()) { timer_refresh_login_->stop(); diff --git a/src/core/oauthenticator.h b/src/core/oauthenticator.h index 323ca4d43..7966e751a 100644 --- a/src/core/oauthenticator.h +++ b/src/core/oauthenticator.h @@ -82,7 +82,7 @@ class OAuthenticator : public QObject { void StartRefreshLoginTimer(); QNetworkReply *CreateAccessTokenRequest(const ParamList ¶ms, const bool refresh_token); void RequestAccessToken(const QString &code = QString(), const QUrl &redirect_url = QUrl()); - void RenewAccessToken(); + void RerefreshAccessToken(); void AuthorizationUrlReceived(const QUrl &request_url, const QUrl &redirect_url); Q_SIGNALS: