From be4a4f87fb2435f21a5d904b90273d317f3c5bea Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Tue, 31 Jan 2017 10:05:58 -0500 Subject: [PATCH] Fix whitespace --- src/Joystick/JoystickManager.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Joystick/JoystickManager.cc b/src/Joystick/JoystickManager.cc index eb9685bf6..a36f4a648 100644 --- a/src/Joystick/JoystickManager.cc +++ b/src/Joystick/JoystickManager.cc @@ -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; } } -- 2.22.0