From f4376b344555489936d062af06a75568d9ae7e24 Mon Sep 17 00:00:00 2001 From: Laura Sebesta Date: Tue, 22 May 2012 01:20:23 +0300 Subject: [PATCH] Corrected small typo: disbleMouseWheelEvents vs. disableMouseWheelEvents --- .../src/plugins/config/configcamerastabilizationwidget.cpp | 2 +- ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp | 2 +- .../openpilotgcs/src/plugins/config/configvehicletypewidget.cpp | 2 +- ground/openpilotgcs/src/plugins/config/inputchannelform.cpp | 2 +- ground/openpilotgcs/src/plugins/config/outputchannelform.cpp | 2 +- .../src/plugins/uavobjectwidgetutils/configtaskwidget.cpp | 2 +- .../src/plugins/uavobjectwidgetutils/configtaskwidget.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.cpp b/ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.cpp index 86ac30080..3e757de63 100644 --- a/ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configcamerastabilizationwidget.cpp @@ -90,7 +90,7 @@ ConfigCameraStabilizationWidget::ConfigCameraStabilizationWidget(QWidget *parent connect(m_camerastabilization->camerastabilizationSaveSD, SIGNAL(clicked()), this, SLOT(saveSettings())); connect(m_camerastabilization->camerastabilizationHelp, SIGNAL(clicked()), this, SLOT(openHelp())); - disbleMouseWheelEvents(); + disableMouseWheelEvents(); } ConfigCameraStabilizationWidget::~ConfigCameraStabilizationWidget() diff --git a/ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp b/ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp index 1d65eaf1c..30c87bd78 100644 --- a/ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp @@ -68,7 +68,7 @@ ConfigTxPIDWidget::ConfigTxPIDWidget(QWidget *parent) : ConfigTaskWidget(parent) populateWidgets(); refreshWidgetsValues(); - disbleMouseWheelEvents(); + disableMouseWheelEvents(); } ConfigTxPIDWidget::~ConfigTxPIDWidget() diff --git a/ground/openpilotgcs/src/plugins/config/configvehicletypewidget.cpp b/ground/openpilotgcs/src/plugins/config/configvehicletypewidget.cpp index cc7b580b9..21d47a77a 100644 --- a/ground/openpilotgcs/src/plugins/config/configvehicletypewidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configvehicletypewidget.cpp @@ -233,7 +233,7 @@ ConfigVehicleTypeWidget::ConfigVehicleTypeWidget(QWidget *parent) : ConfigTaskWi setupGroundVehicleUI( m_aircraft->groundVehicleType->currentText() ); setupFixedWingUI( m_aircraft->fixedWingType->currentText() ); - disbleMouseWheelEvents(); + disableMouseWheelEvents(); } diff --git a/ground/openpilotgcs/src/plugins/config/inputchannelform.cpp b/ground/openpilotgcs/src/plugins/config/inputchannelform.cpp index dbab48cac..212621d44 100644 --- a/ground/openpilotgcs/src/plugins/config/inputchannelform.cpp +++ b/ground/openpilotgcs/src/plugins/config/inputchannelform.cpp @@ -37,7 +37,7 @@ inputChannelForm::inputChannelForm(QWidget *parent,bool showlegend) : connect(ui->channelNumberDropdown,SIGNAL(currentIndexChanged(int)),this,SLOT(channelDropdownUpdated(int))); connect(ui->channelNumber,SIGNAL(valueChanged(int)),this,SLOT(channelNumberUpdated(int))); - disbleMouseWheelEvents(); + disableMouseWheelEvents(); } diff --git a/ground/openpilotgcs/src/plugins/config/outputchannelform.cpp b/ground/openpilotgcs/src/plugins/config/outputchannelform.cpp index 530244777..f2d039edb 100644 --- a/ground/openpilotgcs/src/plugins/config/outputchannelform.cpp +++ b/ground/openpilotgcs/src/plugins/config/outputchannelform.cpp @@ -71,7 +71,7 @@ OutputChannelForm::OutputChannelForm(const int index, QWidget *parent, const boo connect(ui.actuatorLink, SIGNAL(toggled(bool)), this, SLOT(linkToggled(bool))); - disbleMouseWheelEvents(); + disableMouseWheelEvents(); } OutputChannelForm::~OutputChannelForm() diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp index 8bd2fe7b5..21d196be8 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp @@ -1158,7 +1158,7 @@ void ConfigTaskWidget::loadWidgetLimits(QWidget * widget,UAVObjectField * field, } } -void ConfigTaskWidget::disbleMouseWheelEvents() +void ConfigTaskWidget::disableMouseWheelEvents() { //Disable mouse wheel events foreach( QSpinBox * sp, findChildren() ) { diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h index f835a417d..1b5e0ca17 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.h @@ -86,7 +86,7 @@ public: ConfigTaskWidget(QWidget *parent = 0); ~ConfigTaskWidget(); - void disbleMouseWheelEvents(); + void disableMouseWheelEvents(); bool eventFilter( QObject * obj, QEvent * evt ); void saveObjectToSD(UAVObject *obj);