summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 17:14:24 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 17:14:24 +0800
commit9f284fb7257f4968cfcd0a72b41e2e98ef51c890 (patch)
tree9dc1ea3a793ad80d2699175e7567022473c7e282 /worker.cxx
parentac1d174658c81a0a4c867d6945a7115f9cb961ac (diff)
Finish the user properties and connect logged signal
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker.cxx b/worker.cxx
index bdb29e0..d5d3197 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -11,7 +11,7 @@ void Worker::logIn(QString const& name, QString const& password)
rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
struct rt_user *user = NULL;
rtclient_userget(&user, name.toLatin1().constData());
- if (user) rtclient_userfree(user);
+ if (user) emit logged(user);
}
void Worker::search(QString const& owner)