From 7908dc7d861216f8f585a8eb6e5c3243d66e7ea8 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 1abeebe7f..449a59091 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -1520,7 +1520,7 @@ void MainWindow::configure() { joystick->start(); } - joystickWidget = new JoystickWidget(joystick); + joystickWidget = new JoystickWidget(joystick, this); } joystickWidget->show(); } -- 2.22.0