Dehardcode account providers (#38)

* Dehardcode account providers

* Fix crash on creation

* Add dynamic 'add account dialog' provider selector

* Fix typo and add newlines

* Rename loginType to provider

* Rename MojangAccount to Account and MojangAccountList to AccountList

* Fix json save error
This commit is contained in:
Max
2021-06-14 12:51:25 +03:00
committed by GitHub
parent 396400b60d
commit 167b6bd405
39 changed files with 398 additions and 261 deletions

View File

@@ -15,7 +15,7 @@
*/
#include "ValidateTask.h"
#include "../MojangAccount.h"
#include "../Account.h"
#include <QJsonDocument>
#include <QJsonObject>
@@ -24,7 +24,7 @@
#include <QDebug>
ValidateTask::ValidateTask(MojangAccount * account, QObject *parent)
ValidateTask::ValidateTask(Account * account, QObject *parent)
: YggdrasilTask(account, parent)
{
}