From f1a23355bdd7d2fe08c5efa73ee21ece14979a7f Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 9 Jan 2022 00:28:03 +0100 Subject: Port usersettings to qml --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utils.cpp') 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(' '); -- cgit 1.5.1