summaryrefslogtreecommitdiff
path: root/admin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'admin.cxx')
-rw-r--r--admin.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/admin.cxx b/admin.cxx
index ed26562..6fad89f 100644
--- a/admin.cxx
+++ b/admin.cxx
@@ -5,18 +5,10 @@
namespace QICClient {
- std::shared_ptr<Admin> Admin::logIn(QString const& username,
- QString const& password, QString const& successPage,
- QString const& nextPage, QString const& failPage,
- void (*handler)(icclient_fetch_t *))
+ std::shared_ptr<Admin> Admin::logIn(QString const& username, QString const& password, void (*handler)(icclient_fetch_t *))
{
auto admin = new Admin{};
- admin->setData(icclient_admin_login(username.toLatin1().constData(),
- password.toLatin1().constData(),
- successPage.toLatin1().constData(),
- nextPage.toLatin1().constData(),
- failPage.toLatin1().constData(),
- handler));
+ admin->setData(icclient_admin_login(username.toLatin1().constData(), password.toLatin1().constData(), handler));
return std::shared_ptr<Admin>{admin};
}