diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 21:22:07 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 21:22:07 +0800 |
commit | 74f22dd0200dce263522c68d57901547d61350de (patch) | |
tree | d6a0348cc3d45ee2c56c2f4b72d70bb1978572a3 /pages | |
parent | 3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 (diff) |
Simplify userNew use code
Diffstat (limited to 'pages')
-rw-r--r-- | pages/CreateProfile.qml | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml index b0b03a1..a324149 100644 --- a/pages/CreateProfile.qml +++ b/pages/CreateProfile.qml @@ -12,30 +12,7 @@ CreateProfileForm { startUsingKelakon.onClicked: { User.name = userNameLabel.text User.realName = enterFullName.text - login.signUp( - User.name - , User.emailAddress - , User.realName - , "" - , "" - , 0 - , 0 - , "" - , true - , false - , User.password - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "" - , "") + login.signUp(User.name, User.password, User.emailAddress + , User.realName) } } |