Merge pull request #7715 from Techjar/qt-delete-unparented
Qt/MainWindow: Directly delete unparented dialogs
This commit is contained in:
commit
7907633126
|
@ -244,13 +244,13 @@ MainWindow::MainWindow(std::unique_ptr<BootParameters> boot_parameters) : QMainW
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
m_render_widget->deleteLater();
|
delete m_render_widget;
|
||||||
m_netplay_dialog->deleteLater();
|
delete m_netplay_dialog;
|
||||||
|
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
m_gc_tas_input_windows[i]->deleteLater();
|
delete m_gc_tas_input_windows[i];
|
||||||
m_wii_tas_input_windows[i]->deleteLater();
|
delete m_wii_tas_input_windows[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
ShutdownControllers();
|
ShutdownControllers();
|
||||||
|
|
Loading…
Reference in New Issue