From b091a4db8cadccc465b488face5783c7f438f330 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 11 Oct 2023 14:15:49 -0400 Subject: [PATCH] Blegh, rename loginOauth function to loginOAuth --- launcher/include/squareenixlogin.h | 2 +- launcher/src/squareenixlogin.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/launcher/include/squareenixlogin.h b/launcher/include/squareenixlogin.h index f3743ad..53d795e 100644 --- a/launcher/include/squareenixlogin.h +++ b/launcher/include/squareenixlogin.h @@ -35,7 +35,7 @@ private: /// Logs into the server /// \return Returns false if the oauth call failed for some reason - QCoro::Task loginOauth(); + QCoro::Task loginOAuth(); /// Registers a new session with the login server and patches the game if necessary /// \return Returns false if the session registration failed for some reason diff --git a/launcher/src/squareenixlogin.cpp b/launcher/src/squareenixlogin.cpp index 40263bc..8f8b739 100644 --- a/launcher/src/squareenixlogin.cpp +++ b/launcher/src/squareenixlogin.cpp @@ -35,7 +35,7 @@ QCoro::Task> SquareEnixLogin::login(LoginInformation *i co_await checkBootUpdates(); - if (!co_await loginOauth()) { + if (!co_await loginOAuth()) { co_return std::nullopt; } @@ -186,7 +186,7 @@ QCoro::Task> SquareEnixLogin::getStor } } -QCoro::Task SquareEnixLogin::loginOauth() +QCoro::Task SquareEnixLogin::loginOAuth() { const auto storedResult = co_await getStoredValue(); if (storedResult == std::nullopt) {