summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx5
m---------librtclient0
2 files changed, 2 insertions, 3 deletions
diff --git a/client.cxx b/client.cxx
index 9a2fc51..f92363e 100644
--- a/client.cxx
+++ b/client.cxx
@@ -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