summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'client.cxx')
-rw-r--r--client.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.cxx b/client.cxx
index 6711461..ed24ef2 100644
--- a/client.cxx
+++ b/client.cxx
@@ -116,9 +116,9 @@ namespace RTClient {
void Client::searchTicket(QString const& owner)
{
QString query{"Owner='" % owner % "'"};
- rtclient_search_ticket_list* ticketList = nullptr;
- rtclient_search_ticket(&ticketList, query.toLatin1().constData());
- emit searchedTicket(ticketList);
+ rtclient_search_ticket_list* list = nullptr;
+ rtclient_search_ticket(&list, query.toLatin1().constData());
+ emit searchedTicket(list);
}
void Client::ticketHistory(int id, bool longFormat)