From 74f22dd0200dce263522c68d57901547d61350de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 17 Sep 2019 21:22:07 +0800 Subject: Simplify userNew use code --- pages/CreateProfile.qml | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) (limited to 'pages') 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) } } -- cgit v1.2.3