From c890aebf729c9520e141ce09e72d85bffcd900c5 Mon Sep 17 00:00:00 2001 From: Integral Date: Fri, 26 Apr 2024 13:34:51 -0700 Subject: refactor: replace QString constructors with QStringLiteral --- src/FallbackAuth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FallbackAuth.cpp') diff --git a/src/FallbackAuth.cpp b/src/FallbackAuth.cpp index dc16b7cb..d5f8c861 100644 --- a/src/FallbackAuth.cpp +++ b/src/FallbackAuth.cpp @@ -19,8 +19,8 @@ FallbackAuth::FallbackAuth(const QString &session, const QString &authType, QObj void FallbackAuth::openFallbackAuth() { - const auto url = QString("https://%1:%2/_matrix/client/r0/auth/%4/" - "fallback/web?session=%3") + const auto url = QStringLiteral("https://%1:%2/_matrix/client/r0/auth/%4/" + "fallback/web?session=%3") .arg(QString::fromStdString(http::client()->server())) .arg(http::client()->port()) .arg(m_session, m_authType); -- cgit 1.5.1