Skip to content

Commit

Permalink
fix reorder and unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgubler committed Jan 8, 2015
1 parent aaba834 commit ef7e777
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/QGCMapRCToParamDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
QGCMapRCToParamDialog::QGCMapRCToParamDialog(QString param_id,
UASInterface *mav, QWidget *parent) :
QDialog(parent),
ui(new Ui::QGCMapRCToParamDialog),
param_id(param_id),
mav(mav)
mav(mav),
ui(new Ui::QGCMapRCToParamDialog)
{
ui->setupUi(this);

Expand Down Expand Up @@ -126,6 +126,8 @@ void ParamLoader::load()

void ParamLoader::handleParameterChanged(int uas, int component, QString parameterName, QVariant value)
{
Q_UNUSED(component);
Q_UNUSED(value);
if (uas == mav->getUASID() && parameterName == param_id) {
param_received = true;
emit correctParameterChanged();
Expand Down

0 comments on commit ef7e777

Please sign in to comment.