diff options
-rw-r--r-- | client.cxx | 4 | ||||
-rw-r--r-- | qrtclient/client.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -121,10 +121,10 @@ namespace RTClient { emit searchedTicket(ticketList); } - void Client::ticketHistory(int id) + void Client::ticketHistory(int id, bool longFormat) { rtclient_ticket_history_list* historyList = nullptr; - rtclient_ticket_history(&historyList, id, true); + rtclient_ticket_history(&historyList, id, longFormat); emit gotTicketHistory(historyList); } diff --git a/qrtclient/client.hxx b/qrtclient/client.hxx index b672620..e9e6b0f 100644 --- a/qrtclient/client.hxx +++ b/qrtclient/client.hxx @@ -63,7 +63,7 @@ namespace RTClient { , QString const& due = nullptr , QString const& text = nullptr); void searchTicket(QString const& owner); - void ticketHistory(int id); + void ticketHistory(int id, bool longFormat = false); signals: void loggedIn(QString const& name); |