Formated the suggestion
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
54187a505f
commit
4dc9e65875
@ -108,10 +108,9 @@ 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(
|
ui->label->setText(tr("<p>Please login in the opened browser. If no browser was opened please open up %1 in "
|
||||||
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 {
|
||||||
ui->label->setText(
|
ui->label->setText(
|
||||||
tr("<p>Please open up %1 in a browser and put in the code <b>%2</b> to proceed with login.</p>").arg(linkString, code));
|
tr("<p>Please open up %1 in a browser and put in the code <b>%2</b> to proceed with login.</p>").arg(linkString, code));
|
||||||
|
Loading…
Reference in New Issue
Block a user