summaryrefslogtreecommitdiff
path: root/ticket.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 12:32:11 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 12:32:11 +0800
commit36acad91cc9d9ba4eb00b6361b68cdbae2f5d932 (patch)
tree82bf8d293905d9925db8e8df8c6de42d9781deb8 /ticket.cxx
parentf3d5e7754d0be9bd0f076ad26a57dd7c93e0d064 (diff)
ticket_search is changed to search_ticket
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 3d00b71..4693225 100644
--- a/ticket.cxx
+++ b/ticket.cxx
@@ -42,12 +42,12 @@ namespace RTClient {
emit rowCountChanged();
}
- void TicketList::update(rtclient_ticket_list* 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();
}