From 6b2e19159474358de1b9e298ba42b84a63796e17 Mon Sep 17 00:00:00 2001 From: Bryant Date: Mon, 10 Jun 2013 17:23:31 -0700 Subject: [PATCH] The JoystickWidget now has a parent so that it gets cleaned up when the MainWindow is closed preventing zombie-dialog syndrome. --- src/ui/MainWindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 8226dbd3b..3d0c1f182 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -1533,7 +1533,7 @@ void MainWindow::configure() { joystick->start(); } - joystickWidget = new JoystickWidget(joystick); + joystickWidget = new JoystickWidget(joystick, this); } joystickWidget->show(); } -- 2.22.0