summaryrefslogtreecommitdiffstats
path: root/tasks/logintask.cpp
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-25 13:24:46 -0600
committerAndrew <forkk@forkk.net>2013-02-25 13:24:46 -0600
commit498225debdb22d83e591635dbd172cca12476279 (patch)
treee26d8f8de3bed7d22cfc25ee010c999b9481ec87 /tasks/logintask.cpp
parenta7111b132873e0f1e00221b2ad734454d69889e3 (diff)
downloadMultiMC-498225debdb22d83e591635dbd172cca12476279.tar
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.gz
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.lz
MultiMC-498225debdb22d83e591635dbd172cca12476279.tar.xz
MultiMC-498225debdb22d83e591635dbd172cca12476279.zip
Rewrote the settings system. It may still need some work.
Diffstat (limited to 'tasks/logintask.cpp')
-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());