summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-21 08:10:55 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-21 08:10:55 +0800
commit90bff8fb6e3e3b1715c76a28ad27686243e3b307 (patch)
tree992ee2d99217749acf65e3ea5f915d3857ee9433 /controller.cxx
parent66136b7dfa06a150089fdddd0705aef60aeada4a (diff)
Reorder code so the process steps is clearer
Diffstat (limited to 'controller.cxx')
-rw-r--r--controller.cxx5
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();
}