summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-04 18:04:39 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-04 18:04:39 +0800
commit2a0e865c94103d13391a7e2260df2b4f448b7414 (patch)
tree35d743900e59bda15919f8051929e11b705b2c88 /worker.cxx
parent0304612e0d9caa14a6d2e112bf9e917d654bc1eb (diff)
Started searching for tickets owned by the user after logged in
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx4
1 files changed, 4 insertions, 0 deletions
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()