Update launcher/ui/dialogs/MSALoginDialog.cpp

Co-authored-by: seth <getchoo@tuta.io>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2023-11-08 08:56:48 +02:00 committed by GitHub
parent 4dc9e65875
commit 9d653f172a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ void MSALoginDialog::showVerificationUriAndCode(const QUrl& uri, const QString&
if (urlString == "https://www.microsoft.com/link" && !code.isEmpty()) { if (urlString == "https://www.microsoft.com/link" && !code.isEmpty()) {
urlString += QString("?otc=%1").arg(code); urlString += QString("?otc=%1").arg(code);
DesktopServices::openUrl(urlString); DesktopServices::openUrl(urlString);
ui->label->setText(tr("<p>Please login in the opened browser. If no browser was opened please open up %1 in " ui->label->setText(tr("<p>Please login in the opened browser. If no browser was opened, please open up %1 in "
"a browser and put in the code <b>%2</b> to proceed with login.</p>") "a browser and put in the code <b>%2</b> to proceed with login.</p>")
.arg(linkString, code)); .arg(linkString, code));
} else { } else {