summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
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();
}