From 9d16f2e8b4331323d7dfd1d11224c4fcebf079f4 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 16 Jul 2023 19:25:37 +0200 Subject: Fix verification error codes --- src/encryption/DeviceVerificationFlow.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/encryption/DeviceVerificationFlow.h') diff --git a/src/encryption/DeviceVerificationFlow.h b/src/encryption/DeviceVerificationFlow.h index 48de14e5..50818883 100644 --- a/src/encryption/DeviceVerificationFlow.h +++ b/src/encryption/DeviceVerificationFlow.h @@ -63,6 +63,9 @@ using sas_ptr = std::unique_ptr; class DeviceVerificationFlow final : public QObject { Q_OBJECT + QML_ELEMENT + QML_UNCREATABLE("") + Q_PROPERTY(QString state READ state NOTIFY stateChanged) Q_PROPERTY(Error error READ error NOTIFY errorChanged) Q_PROPERTY(QString userId READ getUserId CONSTANT) -- cgit 1.5.1