mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-22 19:09:09 +02:00
fix conflict
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
0ee5665c95
commit
14ad720c58
@ -324,8 +324,7 @@ bool LaunchController::reauthenticateCurrentAccount()
|
||||
bool isDefault = accounts->defaultAccount() == m_accountToUse;
|
||||
accounts->removeAccount(accounts->index(accounts->findAccountByProfileId(m_accountToUse->profileId())));
|
||||
if (m_accountToUse->accountType() == AccountType::MSA) {
|
||||
auto newAccount =
|
||||
MSALoginDialog::newAccount(m_parentWidget, tr("Please enter your Mojang account email and password to add your account."));
|
||||
auto newAccount = MSALoginDialog::newAccount(m_parentWidget);
|
||||
accounts->addAccount(newAccount);
|
||||
if (isDefault) {
|
||||
accounts->setDefaultAccount(newAccount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user