Commit 7908dc7d authored by Bryant's avatar Bryant

The JoystickWidget now has a parent so that it gets cleaned up when the...

The JoystickWidget now has a parent so that it gets cleaned up when the MainWindow is closed preventing zombie-dialog syndrome.
parent e169b59f
...@@ -1520,7 +1520,7 @@ void MainWindow::configure() ...@@ -1520,7 +1520,7 @@ void MainWindow::configure()
{ {
joystick->start(); joystick->start();
} }
joystickWidget = new JoystickWidget(joystick); joystickWidget = new JoystickWidget(joystick, this);
} }
joystickWidget->show(); joystickWidget->show();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment