summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2022-01-11 13:04:55 -0500
committerGitHub <noreply@github.com>2022-01-11 13:04:55 -0500
commitd2ee5d8d43bbab15737f3d0cc1eabb37934a6e7b (patch)
tree7068bedcc91e01772acf1fe153b6054f7c9f449e /src/Utils.cpp
parentTranslated using Weblate (Dutch) (diff)
parentAddress review comments (diff)
downloadnheko-d2ee5d8d43bbab15737f3d0cc1eabb37934a6e7b.tar.xz
Merge pull request #883 from Nheko-Reborn/qml-usersettings
Port usersettings to qml
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 75b3c8f2..a9cfde22 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -394,7 +394,7 @@ utils::humanReadableFingerprint(const QString &ed25519) QString fingerprint; for (int i = 0; i < ed25519.length(); i = i + 4) { fingerprint.append(QStringView(ed25519).mid(i, 4)); - if (i > 0 && i % 16 == 12) + if (i > 0 && i == 20) fingerprint.append('\n'); else if (i < ed25519.length()) fingerprint.append(' ');