mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
fix
This commit is contained in:
parent
fca7ee6fe7
commit
bf93ac6f0b
@ -86,6 +86,7 @@ void MSALoginDialog::showVerificationUriAndCode(const QUrl& uri, const QString&
|
|||||||
QUrl url = QUrl(uri);
|
QUrl url = QUrl(uri);
|
||||||
QUrlQuery otcQuery = QUrlQuery(url);
|
QUrlQuery otcQuery = QUrlQuery(url);
|
||||||
otcQuery.addQueryItem(QString("otc"), code);
|
otcQuery.addQueryItem(QString("otc"), code);
|
||||||
|
url.setQuery(otcQuery);
|
||||||
|
|
||||||
QString urlString = url.toString();
|
QString urlString = url.toString();
|
||||||
QString linkString = QString("<a href=\"%1\">%2</a>").arg(urlString, urlString);
|
QString linkString = QString("<a href=\"%1\">%2</a>").arg(urlString, urlString);
|
||||||
|
Loading…
Reference in New Issue
Block a user