Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
57d5f386
Commit
57d5f386
authored
May 28, 2015
by
Lorenz Meier
Browse files
Fix joystick destruction
parent
63e37c4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
57d5f386
...
@@ -346,7 +346,7 @@ MainWindow::~MainWindow()
...
@@ -346,7 +346,7 @@ MainWindow::~MainWindow()
{
{
joystick
->
shutdown
();
joystick
->
shutdown
();
joystick
->
wait
(
5000
);
joystick
->
wait
(
5000
);
delete
joystick
;
joystick
->
deleteLater
()
;
joystick
=
NULL
;
joystick
=
NULL
;
}
}
#endif
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment