summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.cxx b/client.cxx
index ecc5c30..38501e5 100644
--- a/client.cxx
+++ b/client.cxx
@@ -114,7 +114,7 @@ namespace RTClient {
void Client::ticketSearch(QString const& owner)
{
- QString query = "Owner='" % owner % "'";;
+ QString query{"Owner='" % owner % "'"};
rtclient_ticketlist* ticketList = NULL;
rtclient_ticket_search(&ticketList, query.toLatin1().constData());
emit ticketSearched(ticketList);