diff options
Diffstat (limited to 'src/oauth/qoauth1.cpp')
-rw-r--r-- | src/oauth/qoauth1.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/oauth/qoauth1.cpp b/src/oauth/qoauth1.cpp index e23c21e..22b3597 100644 --- a/src/oauth/qoauth1.cpp +++ b/src/oauth/qoauth1.cpp @@ -597,9 +597,7 @@ void QOAuth1::grant() // https://tools.ietf.org/html/rfc5849#section-2.2 resourceOwnerAuthorization(d->authorizationUrl, parameters); } - } else if (status == Status::Granted) { - Q_EMIT granted(); - } else { + } else if (status == Status::NotAuthenticated) { // Inherit class called QAbstractOAuth::setStatus(Status::NotAuthenticated); setTokenCredentials(QString(), QString()); disconnect(connection); |