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