From dffe14bdabb417685481ddc71d543449492fa129 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Thu, 19 Sep 2024 13:50:30 -0400 Subject: [PATCH] clang-format Signed-off-by: Evan Goode --- launcher/minecraft/auth/Yggdrasil.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/launcher/minecraft/auth/Yggdrasil.cpp b/launcher/minecraft/auth/Yggdrasil.cpp index d550635bc..dc0e1855c 100644 --- a/launcher/minecraft/auth/Yggdrasil.cpp +++ b/launcher/minecraft/auth/Yggdrasil.cpp @@ -224,14 +224,13 @@ void Yggdrasil::processResponse(QJsonObject responseData) changeState(AccountTaskState::STATE_FAILED_HARD, tr("Authentication server didn't send available profiles.")); return; } else { - if(profiles.toArray().isEmpty()) { + if (profiles.toArray().isEmpty()) { changeState(AccountTaskState::STATE_FAILED_HARD, tr("Account has no available profile.")); return; } else { profile = profiles.toArray().first(); } } - } auto profileObj = profile.toObject();