mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-12 16:19:44 -06:00
Qt: Move code to class
This commit is contained in:
parent
d075d61a70
commit
72ab6a53bc
@ -43,6 +43,7 @@ game_list_frame::game_list_frame(std::shared_ptr<gui_settings> gui_settings, std
|
||||
, m_persistent_settings(std::move(persistent_settings))
|
||||
{
|
||||
setObjectName("gamelist");
|
||||
setFeatures(features() & ~QDockWidget::DockWidgetClosable);
|
||||
|
||||
m_game_list_actions = std::make_shared<game_list_actions>(this, m_gui_settings);
|
||||
|
||||
|
||||
@ -3674,7 +3674,6 @@ 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