Commit 6b2e1915 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 9cc5d648
...@@ -1533,7 +1533,7 @@ void MainWindow::configure() ...@@ -1533,7 +1533,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