diff options
-rw-r--r-- | client.cxx | 5 | ||||
m--------- | librtclient | 0 |
2 files changed, 2 insertions, 3 deletions
@@ -1,3 +1,4 @@ +#include <QStringBuilder> #include <rtclient/client.h> #include "qrtclient/client.hxx" @@ -112,9 +113,7 @@ namespace RTClient { void Client::ticketSearch(QString const& owner) { - QString query{"Owner='"}; - query.append(owner); - query.append("'"); + QString query = "Owner='" % owner % "'";; rtclient_ticketlist* ticketList = NULL; rtclient_ticket_search(&ticketList, query.toLatin1().constData()); if (ticketList) emit foundTickets(ticketList); diff --git a/librtclient b/librtclient -Subproject d57d216e4dad7feeb2710ff4482cc6d03471612 +Subproject c6d5739028f2337bd0418084a319705bd5b8984 |