From 3f13c096ead6aa0c308e44d0492d7eee941de6b0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe HAUTIN Date: Wed, 5 Jun 2024 19:25:08 +0200 Subject: [PATCH] feat(UI/6890): fix warning --- src/Ryujinx.Gtk3/UI/Windows/UserProfilesSelectorWindow.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Ryujinx.Gtk3/UI/Windows/UserProfilesSelectorWindow.cs b/src/Ryujinx.Gtk3/UI/Windows/UserProfilesSelectorWindow.cs index 048ab04ad..943d9d759 100644 --- a/src/Ryujinx.Gtk3/UI/Windows/UserProfilesSelectorWindow.cs +++ b/src/Ryujinx.Gtk3/UI/Windows/UserProfilesSelectorWindow.cs @@ -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));