summaryrefslogtreecommitdiff
path: root/ticket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ticket.cxx')
-rw-r--r--ticket.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ticket.cxx b/ticket.cxx
index 93eb066..4693225 100644
--- a/ticket.cxx
+++ b/ticket.cxx
@@ -42,12 +42,12 @@ namespace RTClient {
emit rowCountChanged();
}
- void TicketList::update(rtclient_ticketlist* ticketList)
+ void TicketList::update(rtclient_search_ticket_list* ticketList)
{
if (ticketList) {
for (size_t i = 0; i < ticketList->length; i++)
addTicket(Ticket{ticketList->tickets[i]});
- rtclient_ticket_freelist(ticketList);
+ rtclient_search_ticket_free(ticketList);
}
emit updated();
}