diff options
Diffstat (limited to 'worker.cxx')
-rw-r--r-- | worker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |