diff options
Diffstat (limited to 'client.cxx')
| -rw-r--r-- | client.cxx | 5 |
1 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); |