summary refs log tree commit diff
path: root/src/FallbackAuth.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2024-04-28 16:44:42 +0000
committerGitHub <noreply@github.com>2024-04-28 16:44:42 +0000
commitf465a5b52fccfb0f6bc88f7279dfc842bc421ee2 (patch)
treeb1469e9dfc0775badcd00f1382f7bb5753144218 /src/FallbackAuth.cpp
parentMerge pull request #1708 from NepNep21/windows-image-copying (diff)
parentrefactor: replace QString constructors with QStringLiteral (diff)
downloadnheko-f465a5b52fccfb0f6bc88f7279dfc842bc421ee2.tar.xz
Merge pull request #1717 from Integral-Tech/optimize-qstring
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);