From 2a0e865c94103d13391a7e2260df2b4f448b7414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 4 Sep 2019 18:04:39 +0800 Subject: Started searching for tickets owned by the user after logged in --- librtclient | 2 +- worker.cxx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/librtclient b/librtclient index ed7d8d8..578cf4c 160000 --- a/librtclient +++ b/librtclient @@ -1 +1 @@ -Subproject commit ed7d8d8c1a35e098ef09ee33826a7f0055c9b409 +Subproject commit 578cf4ca96749ba0875d1f15333dea5b43e36011 diff --git a/worker.cxx b/worker.cxx index f9f7610..b3c42aa 100644 --- a/worker.cxx +++ b/worker.cxx @@ -11,6 +11,10 @@ void Worker::logIn(QString const& name, QString const& password) { rtclient_login(name.toLatin1().constData(), password.toLatin1().constData()); rtclient_user(name.toLatin1().constData()); + QString query{"Owner='"}; + query.append(name); + query.append("'"); + rtclient_search(query.toLatin1().constData()); } Worker::~Worker() -- cgit v1.2.3