fix(LaunchController): correctly communicate if asking for offline name was successful

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle
2025-12-06 14:37:39 +05:00
parent 92738feeba
commit 04a405067d
2 changed files with 14 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ class LaunchController : public Task {
void launchInstance();
void decideAccount();
bool askPlayDemo();
QString askOfflineName(QString playerName, bool demo, bool& ok);
QString askOfflineName(QString playerName, bool demo, bool* ok = nullptr);
bool reauthenticateAccount(MinecraftAccountPtr account);
private slots: