mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-12 16:19:44 -06:00
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
This commit is contained in:
parent
6b5a2f781a
commit
c534da86c3
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user