Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer committed Jan 31, 2017
1 parent d5d238e commit be4a4f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Joystick/JoystickManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ JoystickManager::~JoystickManager() {

void JoystickManager::setToolbox(QGCToolbox *toolbox)
{
QGCTool::setToolbox(toolbox);
QGCTool::setToolbox(toolbox);

_multiVehicleManager = _toolbox->multiVehicleManager();

Expand Down Expand Up @@ -108,7 +108,7 @@ void JoystickManager::_setActiveJoystickFromSettings(void)
setActiveJoystick(NULL);
return;
}

QSettings settings;

settings.beginGroup(_settingsGroup);
Expand Down Expand Up @@ -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;
Expand All @@ -205,7 +205,7 @@ void JoystickManager::_updateAvailableJoysticks(void)
qCDebug(JoystickManagerLog) << "Joystick removed:" << event.jdevice.which;
_setActiveJoystickFromSettings();
break;
default:
default:
break;
}
}
Expand Down

0 comments on commit be4a4f8

Please sign in to comment.