Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit dba4c45

Browse files
committed
NOISSUE account tweaks
1 parent 90a62c4 commit dba4c45

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

launcher/minecraft/auth/AccountData.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,3 +438,7 @@ QString AccountData::accountDisplayString() const {
438438
}
439439
}
440440
}
441+
442+
QString AccountData::lastError() const {
443+
return errorString;
444+
}

launcher/minecraft/auth/AccountData.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ struct AccountData {
7474
QString profileId() const;
7575
QString profileName() const;
7676

77+
QString lastError() const;
78+
7779
AccountType type = AccountType::MSA;
7880
bool legacy = false;
7981
bool canMigrateToMSA = false;

launcher/minecraft/auth/MinecraftAccount.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ class MinecraftAccount :
168168

169169
void fillSession(AuthSessionPtr session);
170170

171+
QString lastError() const {
172+
return data.lastError();
173+
}
174+
171175
signals:
172176
/**
173177
* This signal is emitted when the account changes

0 commit comments

Comments
 (0)