summaryrefslogtreecommitdiffstats
path: root/src/encryption
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-10 14:38:29 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-10 14:38:45 +0200
commitaf699eb83eddd981537432ab08a1bbe194e30df0 (patch)
tree07723c95231bd32018ea0b26267aab945f92e798 /src/encryption
parent00cc9a09a51d8baf2409a1b8e01a533b65420643 (diff)
Mark classes as final where possible
Diffstat (limited to 'src/encryption')
-rw-r--r--src/encryption/DeviceVerificationFlow.h2
-rw-r--r--src/encryption/SelfVerificationStatus.h2
-rw-r--r--src/encryption/VerificationManager.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/encryption/DeviceVerificationFlow.h b/src/encryption/DeviceVerificationFlow.h
index afaddb37..7a8500c4 100644
--- a/src/encryption/DeviceVerificationFlow.h
+++ b/src/encryption/DeviceVerificationFlow.h
@@ -61,7 +61,7 @@ using sas_ptr = std::unique_ptr<mtx::crypto::SAS>;
* We are the bigger mxid and deviceid (since we discard our start message). <- GLARE RESOLUTION
*/
// clang-format on
-class DeviceVerificationFlow : public QObject
+class DeviceVerificationFlow final : public QObject
{
Q_OBJECT
Q_PROPERTY(QString state READ state NOTIFY stateChanged)
diff --git a/src/encryption/SelfVerificationStatus.h b/src/encryption/SelfVerificationStatus.h
index ec80fc6b..e5c1971b 100644
--- a/src/encryption/SelfVerificationStatus.h
+++ b/src/encryption/SelfVerificationStatus.h
@@ -7,7 +7,7 @@
#include <QObject>
-class SelfVerificationStatus : public QObject
+class SelfVerificationStatus final : public QObject
{
Q_OBJECT
diff --git a/src/encryption/VerificationManager.h b/src/encryption/VerificationManager.h
index f9844cc0..a6f3f861 100644
--- a/src/encryption/VerificationManager.h
+++ b/src/encryption/VerificationManager.h
@@ -18,7 +18,7 @@ class TimelineModel;
class TimelineViewManager;
class RoomlistModel;
-class VerificationManager : public QObject
+class VerificationManager final : public QObject
{
Q_OBJECT