From c534da86c3fc1d032be517c27f8ccaa6dd471178 Mon Sep 17 00:00:00 2001 From: Edwin Jarvis Date: Mon, 11 May 2026 15:26:07 +0800 Subject: [PATCH] gui: Remove close button from Game List dock widget Users frequently close the game list accidentally and then can't figure out how to restore it. Remove the DockWidgetClosable feature so the close button is not shown. The game list visibility can still be toggled via View > View Game List menu action. Fixes #18518 --- rpcs3/rpcs3qt/main_window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 28f76a63bc..a78acc7964 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -3568,6 +3568,7 @@ void main_window::CreateDockWindows() m_mw->setContextMenuPolicy(Qt::PreventContextMenu); m_game_list_frame = new game_list_frame(m_gui_settings, m_emu_settings, m_persistent_settings, m_mw); + m_game_list_frame->setFeatures(m_game_list_frame->features() & ~QDockWidget::DockWidgetClosable); m_debugger_frame = new debugger_frame(m_gui_settings, m_mw); m_log_frame = new log_frame(m_gui_settings, m_mw);