From 59a5c9815ee15f8d0cd2a9731c82c9915732d85b Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 19 Jun 2023 20:59:35 +0200 Subject: [PATCH] Fix login and registration page registration --- src/LoginPage.h | 2 +- src/RegisterPage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LoginPage.h b/src/LoginPage.h index e3d0d2e0..90515263 100644 --- a/src/LoginPage.h +++ b/src/LoginPage.h @@ -30,7 +30,7 @@ public: class LoginPage : public QObject { Q_OBJECT - QML_ELEMENT + QML_NAMED_ELEMENT(Login) Q_PROPERTY(QString mxid READ mxid WRITE setMxid NOTIFY matrixIdChanged) Q_PROPERTY(QString homeserver READ homeserver WRITE setHomeserver NOTIFY homeserverChanged) diff --git a/src/RegisterPage.h b/src/RegisterPage.h index dcf61489..e26acaba 100644 --- a/src/RegisterPage.h +++ b/src/RegisterPage.h @@ -14,7 +14,7 @@ class RegisterPage : public QObject { Q_OBJECT - QML_ELEMENT + QML_NAMED_ELEMENT(Registration) Q_PROPERTY(QString error READ error NOTIFY errorChanged) Q_PROPERTY(QString hsError READ hsError NOTIFY hsErrorChanged)