aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/steps/OfflineStep.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
commit91ba4cf75ee30c64779edb5b7644e5a830de5026 (patch)
treeaa8c2433bfc3a54577aceeb706c4c2cd0986c95d /launcher/minecraft/auth/steps/OfflineStep.cpp
parent779f70057b021e285afd60cc650a14cd5feacffd (diff)
downloadPrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.gz
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.bz2
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/minecraft/auth/steps/OfflineStep.cpp')
-rw-r--r--launcher/minecraft/auth/steps/OfflineStep.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/launcher/minecraft/auth/steps/OfflineStep.cpp b/launcher/minecraft/auth/steps/OfflineStep.cpp
index dc092bfd..bf111abe 100644
--- a/launcher/minecraft/auth/steps/OfflineStep.cpp
+++ b/launcher/minecraft/auth/steps/OfflineStep.cpp
@@ -5,14 +5,17 @@
OfflineStep::OfflineStep(AccountData* data) : AuthStep(data) {}
OfflineStep::~OfflineStep() noexcept = default;
-QString OfflineStep::describe() {
+QString OfflineStep::describe()
+{
return tr("Creating offline account.");
}
-void OfflineStep::rehydrate() {
+void OfflineStep::rehydrate()
+{
// NOOP
}
-void OfflineStep::perform() {
+void OfflineStep::perform()
+{
emit finished(AccountTaskState::STATE_WORKING, tr("Created offline account."));
}