mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 11:26:59 +03:00
Move "manage accounts" to right, use player skin when available
This commit is contained in:
parent
7024e5a83e
commit
7d7579d7f0
9 changed files with 147 additions and 42 deletions
|
|
@ -56,6 +56,8 @@ void AccountListDialog::on_rmAccountBtn_clicked()
|
|||
{
|
||||
QModelIndex selected = selection.first();
|
||||
m_accounts->removeAccount(selected);
|
||||
|
||||
emit activeAccountChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -72,7 +74,9 @@ void AccountListDialog::on_setActiveBtn_clicked()
|
|||
QModelIndex selected = selection.first();
|
||||
MojangAccountPtr account = selected.data(MojangAccountList::PointerRole).value<MojangAccountPtr>();
|
||||
m_accounts->setActiveAccount(account->username());
|
||||
}
|
||||
|
||||
emit activeAccountChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void AccountListDialog::on_closeBtnBox_rejected()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue