refactor: replace QString constructors with QStringLiteral
This commit is contained in:
parent
9f2f1c62de
commit
c890aebf72
4 changed files with 9 additions and 9 deletions
|
|
@ -19,8 +19,8 @@ ReCaptcha::ReCaptcha(const QString &session, const QString &context, QObject *pa
|
|||
void
|
||||
ReCaptcha::openReCaptcha()
|
||||
{
|
||||
const auto url = QString("https://%1:%2/_matrix/client/r0/auth/m.login.recaptcha/"
|
||||
"fallback/web?session=%3")
|
||||
const auto url = QStringLiteral("https://%1:%2/_matrix/client/r0/auth/m.login.recaptcha/"
|
||||
"fallback/web?session=%3")
|
||||
.arg(QString::fromStdString(http::client()->server()))
|
||||
.arg(http::client()->port())
|
||||
.arg(m_session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue