diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-23 00:23:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-23 00:29:40 +0200 |
commit | 984c36e571aae45cdd55da2fb689538198aadd3c (patch) | |
tree | c703bca5c0bc1d3a24e9f11e7e2f788d774461af /logic/InstanceLauncher.cpp | |
parent | eb4ed3734fb4841a9e0b49af912158151f76c93b (diff) | |
download | MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.gz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.lz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.xz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.zip |
Implement basic yggdrasil auth.
No fancy login token saving involved.
Diffstat (limited to 'logic/InstanceLauncher.cpp')
-rw-r--r-- | logic/InstanceLauncher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/InstanceLauncher.cpp b/logic/InstanceLauncher.cpp index f2f792c9..93b87f23 100644 --- a/logic/InstanceLauncher.cpp +++ b/logic/InstanceLauncher.cpp @@ -5,7 +5,7 @@ #include "gui/logindialog.h" #include "gui/ProgressDialog.h" #include "gui/consolewindow.h" -#include "logic/tasks/LoginTask.h" +#include "logic/net/LoginTask.h" #include "logic/MinecraftProcess.h" #include "lists/InstanceList.h" @@ -25,7 +25,7 @@ void InstanceLauncher::onLoginComplete() LoginTask * task = ( LoginTask * ) QObject::sender(); auto result = task->getResult(); auto instance = MMC->instances()->getInstanceById(instId); - proc = instance->prepareForLaunch ( result.username, result.sessionID ); + proc = instance->prepareForLaunch ( result ); if ( !proc ) { //FIXME: report error |