summaryrefslogtreecommitdiff
path: root/client.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 19:13:54 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-24 19:13:54 +0800
commitddeb4c5f70dba8644d75a084335b787b642f449e (patch)
tree1e65e63fca541f80b43eb073d6d6b45b5ac9f633 /client.cxx
parent18977911a7645333c1887bfbbee96520226b3989 (diff)
Simplify query string building
Diffstat (limited to 'client.cxx')
-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);