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)