summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 22:04:03 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-06 22:04:03 +0800
commit6ff76cf996ff4c1c2fd1f4a63ebe6b6177f898d6 (patch)
tree89c9e56dca54a7c4ac15d7e828c9b81758acd763 /controller.cxx
parentfa537da913c67a0a273db862999c0ffed1a5b430 (diff)
Revert "Move pushHome function to Login Password"
This reverts commit d6c16f40490aef972df55ea101f9eef4eeb31f7b. # Conflicts: # controller.cxx
Diffstat (limited to 'controller.cxx')
-rw-r--r--controller.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/controller.cxx b/controller.cxx
index 1d5bb4b..040d163 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -67,12 +67,8 @@ Controller::Controller(QObject* parent)
connect(client, &Client::searchedTicket, ticketList, &TicketList::update);
- connect(client, &Client::loggedIn, [appWindow,this]() {
- auto loginView = appWindow->findChild<QObject*>("login");
- connect(ticketList, &TicketList::updated, [loginView]() {
- QMetaObject::invokeMethod(loginView
- , "pushHome");
- });
+ connect(ticketList, &TicketList::updated, [appWindow]() {
+ QMetaObject::invokeMethod(appWindow, "pushHome");
});
connect(appWindow, SIGNAL(ticketHistory(int, bool))