summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth2authorizationcodeflow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
-rw-r--r--src/oauth/qoauth2authorizationcodeflow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp
index acefb20..297d125 100644
--- a/src/oauth/qoauth2authorizationcodeflow.cpp
+++ b/src/oauth/qoauth2authorizationcodeflow.cpp
@@ -173,10 +173,12 @@ void QOAuth2AuthorizationCodeFlowPrivate::_q_accessTokenRequestFinished(const QV
setGrantedScope(requestedScope);
} else {
setGrantedScope(splitGrantedScope);
+#if QT_DEPRECATED_SINCE(6, 11)
if (grantedScope != scope) {
scope = grantedScope;
- Q_EMIT q->scopeChanged(scope);
+ QT_IGNORE_DEPRECATIONS(Q_EMIT q->scopeChanged(scope);)
}
+#endif
}
const QDateTime currentDateTime = QDateTime::currentDateTime();