mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-29 12:03:04 +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
|
public partial class UserProfilesSelectorWindow : Window
|
||||||
{
|
{
|
||||||
private const uint MaxProfileNameLength = 0x20;
|
|
||||||
|
|
||||||
private readonly AccountManager _accountManager;
|
private readonly AccountManager _accountManager;
|
||||||
private readonly ContentManager _contentManager;
|
private readonly ContentManager _contentManager;
|
||||||
|
|
||||||
|
@ -102,12 +100,8 @@ namespace Ryujinx.UI.Windows
|
||||||
// Get selected item informations.
|
// Get selected item informations.
|
||||||
_usersTreeView.Selection.GetSelected(out TreeIter selectedIter);
|
_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];
|
string userId = _tableStore.GetValue(selectedIter, 2).ToString().Split("\n")[1];
|
||||||
|
|
||||||
|
|
||||||
// Open the selected one.
|
// Open the selected one.
|
||||||
_accountManager.OpenUser(new UserId(userId));
|
_accountManager.OpenUser(new UserId(userId));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue