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
be4a4f87
Commit
be4a4f87
authored
Jan 31, 2017
by
Jacob Walser
Browse files
Fix whitespace
parent
d5d238e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Joystick/JoystickManager.cc
View file @
be4a4f87
...
...
@@ -48,7 +48,7 @@ JoystickManager::~JoystickManager() {
void
JoystickManager
::
setToolbox
(
QGCToolbox
*
toolbox
)
{
QGCTool
::
setToolbox
(
toolbox
);
QGCTool
::
setToolbox
(
toolbox
);
_multiVehicleManager
=
_toolbox
->
multiVehicleManager
();
...
...
@@ -108,7 +108,7 @@ void JoystickManager::_setActiveJoystickFromSettings(void)
setActiveJoystick
(
NULL
);
return
;
}
QSettings
settings
;
settings
.
beginGroup
(
_settingsGroup
);
...
...
@@ -193,7 +193,7 @@ void JoystickManager::_updateAvailableJoysticks(void)
#ifdef __sdljoystick__
SDL_Event
event
;
while
(
SDL_PollEvent
(
&
event
))
{
switch
(
event
.
type
)
{
switch
(
event
.
type
)
{
case
SDL_QUIT
:
qCDebug
(
JoystickManagerLog
)
<<
"SDL ERROR:"
<<
SDL_GetError
();
break
;
...
...
@@ -205,7 +205,7 @@ void JoystickManager::_updateAvailableJoysticks(void)
qCDebug
(
JoystickManagerLog
)
<<
"Joystick removed:"
<<
event
.
jdevice
.
which
;
_setActiveJoystickFromSettings
();
break
;
default:
default:
break
;
}
}
...
...
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