18 lines
364 B
C++
18 lines
364 B
C++
#include "MojangRefresh.h"
|
|
|
|
MojangRefresh::MojangRefresh(
|
|
AccountData *data,
|
|
QObject *parent
|
|
) : AuthContext(data, parent) {}
|
|
|
|
void MojangRefresh::executeTask() {
|
|
m_requestsDone = 0;
|
|
m_xboxProfileSucceeded = false;
|
|
m_mcAuthSucceeded = false;
|
|
|
|
initMojang();
|
|
|
|
beginActivity(Katabasis::Activity::Refreshing);
|
|
m_yggdrasil->refresh();
|
|
}
|