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
fcb879db
Commit
fcb879db
authored
Jul 16, 2011
by
lm
Browse files
Fixed initialization bug for joystick, thanks to bluescreen10 on GitHub for pointing this out
parent
f0622847
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/MainWindow.cc
View file @
fcb879db
...
...
@@ -135,9 +135,8 @@ MainWindow::MainWindow(QWidget *parent):
connect
(
LinkManager
::
instance
(),
SIGNAL
(
newLink
(
LinkInterface
*
)),
this
,
SLOT
(
addLink
(
LinkInterface
*
)));
// Connect user interface devices
if
(
!
joystick
)
{
joystick
=
new
JoystickInput
();
}
joystickWidget
=
0
;
joystick
=
new
JoystickInput
();
// Enable and update view
presentView
();
...
...
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