summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
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)