diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-01 02:00:42 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-01 02:00:42 +0100 |
commit | f27a6c39ea796f946893ced1d9f80441ad9aa18c (patch) | |
tree | fed31b28bc7752f4fea85aefddfeff62701e13b7 /gui/dialogs/AccountSelectDialog.cpp | |
parent | 2eaf33816b0c4f6fd61ea2b086fa1c4f9fcba4c5 (diff) | |
download | MultiMC-f27a6c39ea796f946893ced1d9f80441ad9aa18c.tar MultiMC-f27a6c39ea796f946893ced1d9f80441ad9aa18c.tar.gz MultiMC-f27a6c39ea796f946893ced1d9f80441ad9aa18c.tar.lz MultiMC-f27a6c39ea796f946893ced1d9f80441ad9aa18c.tar.xz MultiMC-f27a6c39ea796f946893ced1d9f80441ad9aa18c.zip |
Fix login and startup logging issues
Auth uses the refresh endpoint instead of validate. This means less password entering.
Console will now only autoscroll when already scrolled all the way down.
Better conformance with the Yggdrasil auth protocol (not complete yet, but Mojang launcher isn't complete either).
Fix bug that prevented saving the account data (uninitialized variable).
Accounts can now trigger account list saving, this is used for the refresh endpoint.
Diffstat (limited to 'gui/dialogs/AccountSelectDialog.cpp')
-rw-r--r-- | gui/dialogs/AccountSelectDialog.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gui/dialogs/AccountSelectDialog.cpp b/gui/dialogs/AccountSelectDialog.cpp index db1bd192..b8fa9e42 100644 --- a/gui/dialogs/AccountSelectDialog.cpp +++ b/gui/dialogs/AccountSelectDialog.cpp @@ -20,15 +20,14 @@ #include <logger/QsLog.h> -#include <logic/auth/AuthenticateTask.h> +#include <logic/auth/flows/AuthenticateTask.h> #include <gui/dialogs/ProgressDialog.h> #include <MultiMC.h> -AccountSelectDialog::AccountSelectDialog(const QString& message, int flags, QWidget *parent) : - QDialog(parent), - ui(new Ui::AccountSelectDialog) +AccountSelectDialog::AccountSelectDialog(const QString &message, int flags, QWidget *parent) + : QDialog(parent), ui(new Ui::AccountSelectDialog) { ui->setupUi(this); @@ -85,4 +84,3 @@ void AccountSelectDialog::on_buttonBox_rejected() { close(); } - |