From f30acfc5fa3dd2271e19d9cf5ee57581170805f5 Mon Sep 17 00:00:00 2001 From: Bryant Date: Thu, 1 Nov 2012 10:19:52 -0700 Subject: [PATCH] Fixed the signal/slot pairing for joystick messages. They were throwing an error otherwise. --- src/ui/JoystickWidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/JoystickWidget.cc b/src/ui/JoystickWidget.cc index ddd54acbb..de81c0ac9 100644 --- a/src/ui/JoystickWidget.cc +++ b/src/ui/JoystickWidget.cc @@ -15,7 +15,7 @@ JoystickWidget::JoystickWidget(JoystickInput* joystick, QWidget *parent) : m_ui->throttleMapSpinBox->setValue(joystick->getMappingThrustAxis()); m_ui->autoMapSpinBox->setValue(joystick->getMappingAutoButton()); - connect(this->joystick, SIGNAL(joystickChanged(double,double,double,double,int,int)), this, SLOT(updateJoystick(double,double,double,double,int,int))); + connect(this->joystick, SIGNAL(joystickChanged(double,double,double,double,int,int,int)), this, SLOT(updateJoystick(double,double,double,double,int,int))); connect(this->joystick, SIGNAL(buttonPressed(int)), this, SLOT(pressKey(int))); connect(m_ui->rollMapSpinBox, SIGNAL(valueChanged(int)), this->joystick, SLOT(setMappingXAxis(int))); connect(m_ui->pitchMapSpinBox, SIGNAL(valueChanged(int)), this->joystick, SLOT(setMappingYAxis(int))); -- 2.22.0