summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller.cxx2
m---------qrtclient0
2 files changed, 1 insertions, 1 deletions
diff --git a/controller.cxx b/controller.cxx
index e7395d3..d096d8e 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -79,7 +79,7 @@ Controller::Controller(QObject* parent)
connect(client, &Client::gotTicketHistory
, [appWindow,this](rtclient_ticket_history_list* list) {
- auto history = list->histories[list->length - 1];
+ auto history = list->histories[0];
QMetaObject::invokeMethod(appWindow, "ticketHistory"
, Q_ARG(QVariant, m_ticketSubject)
, Q_ARG(QVariant
diff --git a/qrtclient b/qrtclient
-Subproject 132781266018bcf28e8fdb31a58f1156a6058e9
+Subproject 0fe9af92f5fdea473e258da3cb079a525e9fbcf