From 128b7259a7f6cc39545711323a074103ea9520f7 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 21 Nov 2017 17:33:26 +0900 Subject: Use QStringLiteral instead of bare QString constructors for string constants For job endpoints, we should eventually move to QLatin1String or QByteArray instead. Maybe later. --- jobs/joinroomjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs/joinroomjob.cpp') diff --git a/jobs/joinroomjob.cpp b/jobs/joinroomjob.cpp index d465dd42..66a75089 100644 --- a/jobs/joinroomjob.cpp +++ b/jobs/joinroomjob.cpp @@ -29,7 +29,7 @@ class JoinRoomJob::Private JoinRoomJob::JoinRoomJob(const QString& roomAlias) : BaseJob(HttpVerb::Post, "JoinRoomJob", - QString("_matrix/client/r0/join/%1").arg(roomAlias)) + QStringLiteral("_matrix/client/r0/join/%1").arg(roomAlias)) , d(new Private) { } -- cgit v1.2.3