summaryrefslogtreecommitdiffstats
path: root/src/FallbackAuth.cpp
diff options
context:
space:
mode:
authorIntegral <integral@member.fsf.org>2024-04-26 13:34:51 -0700
committerIntegral <integral@member.fsf.org>2024-04-26 13:34:51 -0700
commitc890aebf729c9520e141ce09e72d85bffcd900c5 (patch)
treeb1469e9dfc0775badcd00f1382f7bb5753144218 /src/FallbackAuth.cpp
parent9f2f1c62de9f6b369b9da8cc1f24ca30455e0681 (diff)
refactor: replace QString constructors with QStringLiteral
Diffstat (limited to 'src/FallbackAuth.cpp')
-rw-r--r--src/FallbackAuth.cpp4
1 files changed, 2 insertions, 2 deletions
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);