aboutsummaryrefslogtreecommitdiff
path: root/lib/accountregistry.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-05-29 22:21:53 +0200
committerTobias Fella <fella@posteo.de>2022-05-29 22:21:53 +0200
commit9c436d314f6b082287fb129ea1fcf960313e5c27 (patch)
tree0b70e8d71dbf210da870431c0051968f9b00a57e /lib/accountregistry.cpp
parent283f95e429917bd0c7fb5982ceac1602eb2af0b9 (diff)
downloadlibquotient-9c436d314f6b082287fb129ea1fcf960313e5c27.tar.gz
libquotient-9c436d314f6b082287fb129ea1fcf960313e5c27.zip
Also reemit resolveError
Diffstat (limited to 'lib/accountregistry.cpp')
-rw-r--r--lib/accountregistry.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/accountregistry.cpp b/lib/accountregistry.cpp
index 5322ee80..9b148b51 100644
--- a/lib/accountregistry.cpp
+++ b/lib/accountregistry.cpp
@@ -102,6 +102,9 @@ void AccountRegistry::invokeLogin()
connect(connection, &Connection::loginError, this, [this, connection](const QString& error, const QString& details) {
emit loginError(connection, error, details);
});
+ connect(connection, &Connection::resolveError, this, [this, connection](QString error) {
+ emit resolveError(connection, error);
+ });
connection->assumeIdentity(account.userId(), accessTokenLoadingJob->binaryData(), account.deviceId());
});
}