Fix login and registration page registration

This commit is contained in:
Nicolas Werner 2023-06-19 20:59:35 +02:00
parent efda425b6a
commit 59a5c9815e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)