summary refs log tree commit diff
path: root/src/Utils.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/Utils.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/Utils.cpp')
-rw-r--r--src/Utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 498bad9a..b4d45472 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -1110,10 +1110,10 @@ utils::getFormattedQuoteBody(const RelatedInfo &related, const QString &html) } } }; - return QString("<mx-reply><blockquote><a " - "href=\"https://matrix.to/#/%1/%2\">In reply " - "to</a> <a href=\"https://matrix.to/#/%3\">%4</a><br" - "/>%5</blockquote></mx-reply>") + return QStringLiteral("<mx-reply><blockquote><a " + "href=\"https://matrix.to/#/%1/%2\">In reply " + "to</a> <a href=\"https://matrix.to/#/%3\">%4</a><br" + "/>%5</blockquote></mx-reply>") .arg(related.room, QString::fromStdString(related.related_event), related.quoted_user,