mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix login and registration page registration
This commit is contained in:
parent
efda425b6a
commit
59a5c9815e
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ public:
|
||||||
class LoginPage : public QObject
|
class LoginPage : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
QML_ELEMENT
|
QML_NAMED_ELEMENT(Login)
|
||||||
|
|
||||||
Q_PROPERTY(QString mxid READ mxid WRITE setMxid NOTIFY matrixIdChanged)
|
Q_PROPERTY(QString mxid READ mxid WRITE setMxid NOTIFY matrixIdChanged)
|
||||||
Q_PROPERTY(QString homeserver READ homeserver WRITE setHomeserver NOTIFY homeserverChanged)
|
Q_PROPERTY(QString homeserver READ homeserver WRITE setHomeserver NOTIFY homeserverChanged)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
class RegisterPage : public QObject
|
class RegisterPage : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
QML_ELEMENT
|
QML_NAMED_ELEMENT(Registration)
|
||||||
|
|
||||||
Q_PROPERTY(QString error READ error NOTIFY errorChanged)
|
Q_PROPERTY(QString error READ error NOTIFY errorChanged)
|
||||||
Q_PROPERTY(QString hsError READ hsError NOTIFY hsErrorChanged)
|
Q_PROPERTY(QString hsError READ hsError NOTIFY hsErrorChanged)
|
||||||
|
|
Loading…
Reference in a new issue