mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-01 21:18:15 +00:00
UltimMC: Actually make profile for local accounts, fixes #334
This commit is contained in:
23
launcher/minecraft/auth/steps/LocalStep.cpp
Normal file
23
launcher/minecraft/auth/steps/LocalStep.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "LocalStep.h"
|
||||
|
||||
#include "Application.h"
|
||||
|
||||
// This step does nothing but just log that we created a local account.
|
||||
|
||||
LocalStep::LocalStep(AccountData* data) : AuthStep(data) {}
|
||||
LocalStep::~LocalStep() noexcept = default;
|
||||
|
||||
QString LocalStep::describe()
|
||||
{
|
||||
return tr("Creating local account.");
|
||||
}
|
||||
|
||||
void LocalStep::rehydrate()
|
||||
{
|
||||
// NOOP
|
||||
}
|
||||
|
||||
void LocalStep::perform()
|
||||
{
|
||||
emit finished(AccountTaskState::STATE_WORKING, tr("Created local account."));
|
||||
}
|
||||
Reference in New Issue
Block a user