diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 08:10:55 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-21 08:10:55 +0800 |
commit | 90bff8fb6e3e3b1715c76a28ad27686243e3b307 (patch) | |
tree | 992ee2d99217749acf65e3ea5f915d3857ee9433 | |
parent | 66136b7dfa06a150089fdddd0705aef60aeada4a (diff) |
Reorder code so the process steps is clearer
-rw-r--r-- | controller.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/controller.cxx b/controller.cxx index 5ffe31f..d69a6d6 100644 --- a/controller.cxx +++ b/controller.cxx @@ -37,18 +37,17 @@ Controller::Controller(QObject* parent) : QObject{parent} connect(this, SIGNAL(checked(rtclient_user*)) , user, SLOT(update(rtclient_user*))); - connect(this, SIGNAL(checked(QString)) , client, SLOT(ticketSearch(QString))); connect(client, SIGNAL(ticketSearched(rtclient_ticketlist*)) , taskList, SLOT(update(rtclient_ticketlist*))); + connect(taskList, SIGNAL(updated()), onboardingView, SLOT(pushHome())); + connect(onboardingView, SIGNAL(ticketNew(QString, QString)) , client, SLOT(ticketNew(QString, QString))); - connect(taskList, SIGNAL(updated()), onboardingView, SLOT(pushHome())); - thread.start(); } |