From d8ead9573b6fd45e386d54b9aaec4e1c335b10ec Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 29 Dec 2021 04:28:08 +0100 Subject: Reduce allocations using QStringLiteral --- src/timeline/EventStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timeline/EventStore.cpp') diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp index 6a9d975e..0a19483d 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp @@ -537,7 +537,7 @@ EventStore::reactions(const std::string &event_id) if (firstReaction) firstReaction = false; else - reaction.users_ += ", "; + reaction.users_ += QLatin1String(", "); reaction.users_ += QString::fromStdString(user); } -- cgit 1.5.1