mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
Qt: Move code to class
This commit is contained in:
parent
c6602f673b
commit
66349fcb5b
@ -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))
|
, m_persistent_settings(std::move(persistent_settings))
|
||||||
{
|
{
|
||||||
setObjectName("gamelist");
|
setObjectName("gamelist");
|
||||||
|
setFeatures(features() & ~QDockWidget::DockWidgetClosable);
|
||||||
|
|
||||||
m_game_list_actions = std::make_shared<game_list_actions>(this, m_gui_settings);
|
m_game_list_actions = std::make_shared<game_list_actions>(this, m_gui_settings);
|
||||||
|
|
||||||
|
|||||||
@ -3676,7 +3676,6 @@ void main_window::CreateDockWindows()
|
|||||||
m_mw->setContextMenuPolicy(Qt::PreventContextMenu);
|
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 = 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_debugger_frame = new debugger_frame(m_gui_settings, m_mw);
|
||||||
m_log_frame = new log_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