mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 15:43:17 +02:00
Add loginFailed signal to AccountManager
This commit is contained in:
parent
9bf3b3c6bf
commit
cbd5fbe9b3
2 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,7 @@ void AccountManager::requestFinished() {
|
|||
} else {
|
||||
// TODO: error handling
|
||||
qDebug() << "Error in response for password grant -" << rootObject["error_description"].toString();
|
||||
emit loginFailed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,6 +71,7 @@ signals:
|
|||
void usernameChanged(const QString& username);
|
||||
void accessTokenChanged();
|
||||
void loginComplete(const QUrl& authURL);
|
||||
void loginFailed();
|
||||
void logoutComplete();
|
||||
private slots:
|
||||
void processReply();
|
||||
|
|
Loading…
Reference in a new issue