summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:22:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:22:07 +0800
commit74f22dd0200dce263522c68d57901547d61350de (patch)
treed6a0348cc3d45ee2c56c2f4b72d70bb1978572a3 /controller.cxx
parent3ac6ebbc5243f2b0ddddcfc58ba81eb686fb5aa2 (diff)
Simplify userNew use code
Diffstat (limited to 'controller.cxx')
-rw-r--r--controller.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/controller.cxx b/controller.cxx
index 96a1d8f..8e947cf 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -17,18 +17,9 @@ Controller::Controller(QObject* parent) : QObject{parent}
auto loginView = appWindow->findChild<QObject*>("login");
connect(loginView, SIGNAL(logIn(QString, QString))
, client, SLOT(logIn(QString, QString)));
- connect(loginView, SIGNAL(signUp(QString, QString, QString, QString
- , QString, int, int
- , QString, bool, bool, QString, QString
- , QString, QString, QString, QString
- , QString, QString, QString, QString
- , QString, QString, QString, QString))
- , client, SLOT(userNew(QString, QString, QString, QString
- , QString, int, int
- , QString, bool, bool, QString, QString
- , QString, QString, QString, QString
- , QString, QString, QString, QString
- , QString, QString, QString, QString)));
+ connect(loginView, SIGNAL(signUp(QString, QString, QString, QString))
+ , client, SLOT(userNew(QString, QString, QString
+ , QString)));
connect(client, SIGNAL(logged(rt_user*)), loginView, SLOT(pushProfile()));
connect(loginView, SIGNAL(search(QString)), client, SLOT(search(QString)));