summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth2authorizationcodeflow.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@qt.io>2023-06-16 09:47:58 +0300
committerJuha Vuolle <juha.vuolle@qt.io>2023-06-22 15:05:44 +0300
commit6e92e1378eaa2db18dca1c2ddeef5ec7b84f49c2 (patch)
tree8f639ca8fac164017df42f814a670c30c105d1e0 /src/oauth/qoauth2authorizationcodeflow.cpp
parentb9fb7c2f929a37a92cd51eb4e4a585f5a31cf0b2 (diff)
Rename tokenRequestError signal to tokenRequestErrorOccurred
To be better in line with the other signals (that is, end the signal name with a 'verb'). Amends: 32f29d3e227da206f262efa055d1cac895855a98 Pick-to: 6.6 Change-Id: I8f76d526b124842d0982e74af0dc76d8bdc46f37 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
-rw-r--r--src/oauth/qoauth2authorizationcodeflow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp
index 2a7a7bd..47229e4 100644
--- a/src/oauth/qoauth2authorizationcodeflow.cpp
+++ b/src/oauth/qoauth2authorizationcodeflow.cpp
@@ -359,7 +359,8 @@ void QOAuth2AuthorizationCodeFlow::refreshAccessToken()
&QNetworkAccessManager::authenticationRequired,
d, &QOAuth2AuthorizationCodeFlowPrivate::_q_authenticate,
Qt::UniqueConnection);
- QObjectPrivate::connect(d->replyHandler.data(), &QAbstractOAuthReplyHandler::tokenRequestError,
+ QObjectPrivate::connect(d->replyHandler.data(),
+ &QAbstractOAuthReplyHandler::tokenRequestErrorOccurred,
d, &QOAuth2AuthorizationCodeFlowPrivate::_q_accessTokenRequestFailed,
Qt::UniqueConnection);
}
@@ -438,7 +439,8 @@ void QOAuth2AuthorizationCodeFlow::requestAccessToken(const QString &code)
&QNetworkAccessManager::authenticationRequired,
d, &QOAuth2AuthorizationCodeFlowPrivate::_q_authenticate,
Qt::UniqueConnection);
- QObjectPrivate::connect(d->replyHandler.data(), &QAbstractOAuthReplyHandler::tokenRequestError,
+ QObjectPrivate::connect(d->replyHandler.data(),
+ &QAbstractOAuthReplyHandler::tokenRequestErrorOccurred,
d, &QOAuth2AuthorizationCodeFlowPrivate::_q_accessTokenRequestFailed,
Qt::UniqueConnection);
}