Browse Source

The JoystickWidget now has a parent so that it gets cleaned up when the MainWindow is closed preventing zombie-dialog syndrome.

QGC4.4
Bryant 12 years ago
parent
commit
7908dc7d86
  1. 2
      src/ui/MainWindow.cc

2
src/ui/MainWindow.cc

@ -1520,7 +1520,7 @@ void MainWindow::configure() @@ -1520,7 +1520,7 @@ void MainWindow::configure()
{
joystick->start();
}
joystickWidget = new JoystickWidget(joystick);
joystickWidget = new JoystickWidget(joystick, this);
}
joystickWidget->show();
}

Loading…
Cancel
Save