summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx4
-rw-r--r--qrtclient/client.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/client.cxx b/client.cxx
index 2dbf761..6711461 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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);