mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-28 03:23:05 +00:00
feat(UI/6890): fix warning
This commit is contained in:
parent
52e6c03817
commit
3f13c096ea
1 changed files with 0 additions and 6 deletions
|
@ -18,8 +18,6 @@ namespace Ryujinx.UI.Windows
|
|||
{
|
||||
public partial class UserProfilesSelectorWindow : Window
|
||||
{
|
||||
private const uint MaxProfileNameLength = 0x20;
|
||||
|
||||
private readonly AccountManager _accountManager;
|
||||
private readonly ContentManager _contentManager;
|
||||
|
||||
|
@ -102,12 +100,8 @@ namespace Ryujinx.UI.Windows
|
|||
// Get selected item informations.
|
||||
_usersTreeView.Selection.GetSelected(out TreeIter selectedIter);
|
||||
|
||||
Gdk.Pixbuf userPicture = (Gdk.Pixbuf)_tableStore.GetValue(selectedIter, 1);
|
||||
|
||||
string userName = _tableStore.GetValue(selectedIter, 2).ToString().Split("\n")[0];
|
||||
string userId = _tableStore.GetValue(selectedIter, 2).ToString().Split("\n")[1];
|
||||
|
||||
|
||||
// Open the selected one.
|
||||
_accountManager.OpenUser(new UserId(userId));
|
||||
|
||||
|
|
Loading…
Reference in a new issue