summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-10-13 23:28:57 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-10-13 23:29:32 +0200
commit45ecb71444143a6f7ae8d2ae21a1b071fc708616 (patch)
treeb8c33354879575e84e4219b0eb7a4b11da740d60 /src/timeline/InputBar.cpp
parentFix (hopefully) HiDPI scaling issues with edit and encryption icons (diff)
downloadnheko-45ecb71444143a6f7ae8d2ae21a1b071fc708616.tar.xz
Qt6.6 compatibility
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index a371e2b4..fcec8e9c 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -491,7 +491,7 @@ InputBar::message(const QString &msg, MarkdownOverride useMarkdown, bool rainbow QString body; bool firstLine = true; auto lines = QStringView(related.quoted_body).split(u'\n'); - for (auto line : qAsConst(lines)) { + for (auto line : std::as_const(lines)) { if (firstLine) { firstLine = false; body = QStringLiteral("> <%1> %2\n").arg(related.quoted_user, line);