diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-24 19:13:54 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-24 19:13:54 +0800 |
commit | ddeb4c5f70dba8644d75a084335b787b642f449e (patch) | |
tree | 1e65e63fca541f80b43eb073d6d6b45b5ac9f633 /client.cxx | |
parent | 18977911a7645333c1887bfbbee96520226b3989 (diff) |
Simplify query string building
Diffstat (limited to 'client.cxx')
-rw-r--r-- | client.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |