mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
commit
a64dd3659a
@ -32,12 +32,17 @@ MainWindow::MainWindow() : QMainWindow(nullptr)
|
|||||||
ConnectMenuBar();
|
ConnectMenuBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MainWindow::~MainWindow()
|
||||||
|
{
|
||||||
|
m_render_widget->deleteLater();
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::CreateComponents()
|
void MainWindow::CreateComponents()
|
||||||
{
|
{
|
||||||
m_menu_bar = new MenuBar(this);
|
m_menu_bar = new MenuBar(this);
|
||||||
m_tool_bar = new ToolBar(this);
|
m_tool_bar = new ToolBar(this);
|
||||||
m_game_list = new GameList(this);
|
m_game_list = new GameList(this);
|
||||||
m_render_widget = new RenderWidget(this);
|
m_render_widget = new RenderWidget;
|
||||||
m_stack = new QStackedWidget(this);
|
m_stack = new QStackedWidget(this);
|
||||||
m_paths_dialog = new PathDialog(this);
|
m_paths_dialog = new PathDialog(this);
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,7 @@ class MainWindow final : public QMainWindow
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit MainWindow();
|
explicit MainWindow();
|
||||||
|
~MainWindow();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void EmulationStarted();
|
void EmulationStarted();
|
||||||
|
Loading…
Reference in New Issue
Block a user