From 6be6316bc4ce879b4373a9fc46edd3eeb6762674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 2 Oct 2019 22:48:23 +0800 Subject: Set ticket history long format to true here --- TicketList.qml | 2 +- controller.cxx | 4 ++-- main.qml | 2 +- qrtclient | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TicketList.qml b/TicketList.qml index 6bfb54e..58dd774 100644 --- a/TicketList.qml +++ b/TicketList.qml @@ -9,7 +9,7 @@ TaskListForm { height: task.height taskTitle.text: subject itemDelegate.onClicked: { - window.ticketHistory(id) + window.ticketHistory(id, true) pageView.push("TicketHistory.qml" , {"subject": subject}) } diff --git a/controller.cxx b/controller.cxx index 14f6468..1690044 100644 --- a/controller.cxx +++ b/controller.cxx @@ -75,8 +75,8 @@ Controller::Controller(QObject* parent) }); }); - connect(appWindow, SIGNAL(ticketHistory(int)) - , client, SLOT(ticketHistory(int))); + connect(appWindow, SIGNAL(ticketHistory(int, bool)) + , client, SLOT(ticketHistory(int, bool))); connect(client, &Client::gotTicketHistory , ticketHistoryList, &TicketHistoryList::update); diff --git a/main.qml b/main.qml index 83eb694..bf4961f 100644 --- a/main.qml +++ b/main.qml @@ -4,7 +4,7 @@ import "larva/features" ApplicationWindow { signal logIn(string name, string password) - signal ticketHistory(int id) + signal ticketHistory(int id, bool longFormat) signal ticketNew(string queue, string requestor) id: window diff --git a/qrtclient b/qrtclient index b628ffd..5567338 160000 --- a/qrtclient +++ b/qrtclient @@ -1 +1 @@ -Subproject commit b628ffd96ce55f2fab838b4c9626dde873370ed1 +Subproject commit 5567338ace1f591c6a0e7a54da0cf15667e3b462 -- cgit v1.2.3