summary refs log tree commit diff
path: root/src/encryption/SelfVerificationStatus.h
diff options
context:
space:
mode:
authorLoren Burkholder <55629213+LorenDB@users.noreply.github.com>2022-10-03 17:57:30 -0400
committerGitHub <noreply@github.com>2022-10-03 21:57:30 +0000
commit8ecbb39dc6303fcf3ae36ad033d7e90ea29b9003 (patch)
treeccbf44824e2a038254ce77ae3890d2d6d86b0a94 /src/encryption/SelfVerificationStatus.h
parentMerge pull request #1202 from Nheko-Reborn/grammar (diff)
downloadnheko-8ecbb39dc6303fcf3ae36ad033d7e90ea29b9003.tar.xz
cppcheck stuff (#1200)
* cppcheck stuff

* Update src/ui/RoomSettings.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* Update src/ui/RoomSettings.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* Fix linting

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Diffstat (limited to 'src/encryption/SelfVerificationStatus.h')
-rw-r--r--src/encryption/SelfVerificationStatus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/encryption/SelfVerificationStatus.h b/src/encryption/SelfVerificationStatus.h
index 9e20bd9d..ec80fc6b 100644
--- a/src/encryption/SelfVerificationStatus.h
+++ b/src/encryption/SelfVerificationStatus.h
@@ -25,7 +25,8 @@ public:
     };
     Q_ENUM(Status)
 
-    Q_INVOKABLE void setupCrosssigning(bool useSSSS, QString password, bool useOnlineKeyBackup);
+    Q_INVOKABLE void
+    setupCrosssigning(bool useSSSS, const QString &password, bool useOnlineKeyBackup);
     Q_INVOKABLE void verifyMasterKey();
     Q_INVOKABLE void verifyMasterKeyWithPassphrase();
     Q_INVOKABLE void verifyUnverifiedDevices();