summary refs log tree commit diff
path: root/src/encryption/SelfVerificationStatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryption/SelfVerificationStatus.cpp')
-rw-r--r--src/encryption/SelfVerificationStatus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encryption/SelfVerificationStatus.cpp b/src/encryption/SelfVerificationStatus.cpp

index e15fa4cc..6b8cf95e 100644 --- a/src/encryption/SelfVerificationStatus.cpp +++ b/src/encryption/SelfVerificationStatus.cpp
@@ -211,8 +211,8 @@ SelfVerificationStatus::verifyMasterKey() (void)sig; auto d = QString::fromStdString(dev); - if (d.startsWith("ed25519:")) { - d.remove("ed25519:"); + if (d.startsWith(QLatin1String("ed25519:"))) { + d.remove(QStringLiteral("ed25519:")); if (keys->device_keys.count(d.toStdString())) devices.push_back(std::move(d));