summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker.cxx b/worker.cxx
index 767ee9d..eef27ac 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -10,7 +10,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());
+ rtclient_user_show(&user, name.toLatin1().constData());
if (user) emit logged(user);
}
@@ -20,7 +20,7 @@ void Worker::search(QString const& owner)
query.append(owner);
query.append("'");
rt_ticketlist* taskList = NULL;
- rtclient_ticketssearch(&taskList, query.toLatin1().constData());
+ rtclient_ticket_search(&taskList, query.toLatin1().constData());
if (taskList) emit foundTasks(taskList);
}