2022-01-17 11:08:10 +00:00
|
|
|
#include "OfflineStep.h"
|
|
|
|
|
|
|
|
#include "Application.h"
|
|
|
|
|
|
|
|
OfflineStep::OfflineStep(AccountData* data) : AuthStep(data) {}
|
|
|
|
OfflineStep::~OfflineStep() noexcept = default;
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
QString OfflineStep::describe()
|
|
|
|
{
|
2022-01-17 11:08:10 +00:00
|
|
|
return tr("Creating offline account.");
|
|
|
|
}
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
void OfflineStep::rehydrate()
|
|
|
|
{
|
2022-01-17 11:08:10 +00:00
|
|
|
// NOOP
|
|
|
|
}
|
|
|
|
|
2023-08-02 17:35:35 +01:00
|
|
|
void OfflineStep::perform()
|
|
|
|
{
|
2022-01-17 11:08:10 +00:00
|
|
|
emit finished(AccountTaskState::STATE_WORKING, tr("Created offline account."));
|
|
|
|
}
|