summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/logintask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/logintask.cpp b/tasks/logintask.cpp
index f683b811..71075630 100644
--- a/tasks/logintask.cpp
+++ b/tasks/logintask.cpp
@@ -44,8 +44,8 @@ void LoginTask::executeTask()
"application/x-www-form-urlencoded");
QUrlQuery params;
- params.addQueryItem("user", uInfo.getUsername());
- params.addQueryItem("password", uInfo.getPassword());
+ params.addQueryItem("user", uInfo.username());
+ params.addQueryItem("password", uInfo.password());
params.addQueryItem("version", "13");
netReply = netMgr.post(netRequest, params.query(QUrl::EncodeSpaces).toUtf8());