summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-28 20:09:08 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-28 20:09:08 +0100
commit5ca98829f7c5bf504e78bd51e6ceb534c023ae05 (patch)
tree2e624400f17b2b8220431a500e4ffc9f3671e4a7 /src/Cache.cpp
parentMisc clang-tidy fixes (diff)
downloadnheko-5ca98829f7c5bf504e78bd51e6ceb534c023ae05.tar.xz
Some qt6 prep
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index b1d03921..90b087db 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -3835,7 +3835,7 @@ Cache::displayName(const QString &room_id, const QString &user_id) static bool isDisplaynameSafe(const std::string &s) { - for (QChar c : QString::fromStdString(s).toUcs4()) { + for (QChar c : QString::fromStdString(s)) { if (c.isPrint() && !c.isSpace()) return false; }