From 25ca698ad57e5e0665efac4505c854c1b4ddb074 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 6 Oct 2022 16:38:49 +0200 Subject: [PATCH] Improve user-related strings in webflow credentials Signed-off-by: Claudio Cambra --- src/gui/creds/webflowcredentials.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/creds/webflowcredentials.cpp b/src/gui/creds/webflowcredentials.cpp index 278d81b94..b2e28dafd 100644 --- a/src/gui/creds/webflowcredentials.cpp +++ b/src/gui/creds/webflowcredentials.cpp @@ -164,7 +164,7 @@ void WebFlowCredentials::askFromUser() { } QString msg = tr("You have been logged out of your account %1 at %2. Please login again.") - .arg(_user, _account->displayName()); + .arg(_account->davUser(), _account->url().toDisplayString()); _askDialog->setInfo(msg); _askDialog->show(); @@ -188,7 +188,7 @@ void WebFlowCredentials::slotAskFromUserCredentialsProvided(const QString &user, qCInfo(lcWebFlowCredentials()) << "Authed with the wrong user!"; QString msg = tr("Please login with the account: %1") - .arg(_user); + .arg(_account->davUser()); _askDialog->setError(msg); if (!_askDialog->isUsingFlow2()) {