Commit 6fa692b7 authored by Lorenz Meier's avatar Lorenz Meier

Build fix

parent c9b53416
...@@ -95,14 +95,14 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) : ...@@ -95,14 +95,14 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
px4AirframeConfig = new QGCPX4AirframeConfig(this); px4AirframeConfig = new QGCPX4AirframeConfig(this);
ui->airframeLayout->addWidget(px4AirframeConfig); ui->airframeLayout->addWidget(px4AirframeConfig);
px4SafetyConfig = new QGCPX4SafetyConfig(this); // px4SafetyConfig = new QGCPX4SafetyConfig(this);
ui->safetyConfigLayout->addWidget(px4SafetyConfig); // ui->safetyConfigLayout->addWidget(px4SafetyConfig);
px4TuningConfig = new QGCPX4TuningConfig(this); // px4TuningConfig = new QGCPX4TuningConfig(this);
ui->tuningLayout->addWidget(px4TuningConfig); // ui->tuningLayout->addWidget(px4TuningConfig);
px4FlightModeConfig = new QGCPX4FlightModeConfig(this); // px4FlightModeConfig = new QGCPX4FlightModeConfig(this);
ui->flightModeLayout->addWidget(px4FlightModeConfig); // ui->flightModeLayout->addWidget(px4FlightModeConfig);
px4SensorCalibration = new QGCPX4SensorCalibration(this); px4SensorCalibration = new QGCPX4SensorCalibration(this);
ui->sensorLayout->addWidget(px4SensorCalibration); ui->sensorLayout->addWidget(px4SensorCalibration);
...@@ -306,7 +306,7 @@ void QGCPX4VehicleConfig::sensorMenuButtonClicked() ...@@ -306,7 +306,7 @@ void QGCPX4VehicleConfig::sensorMenuButtonClicked()
void QGCPX4VehicleConfig::tuningMenuButtonClicked() void QGCPX4VehicleConfig::tuningMenuButtonClicked()
{ {
ui->stackedWidget->setCurrentWidget(ui->generalTab); ui->stackedWidget->setCurrentWidget(ui->tuningTab);
ui->tabTitleLabel->setText(tr("Controller Tuning")); ui->tabTitleLabel->setText(tr("Controller Tuning"));
} }
......
...@@ -41,6 +41,8 @@ public slots: ...@@ -41,6 +41,8 @@ public slots:
void rcMenuButtonClicked(); void rcMenuButtonClicked();
void sensorMenuButtonClicked(); void sensorMenuButtonClicked();
void tuningMenuButtonClicked(); void tuningMenuButtonClicked();
void flightModeMenuButtonClicked();
void safetyConfigMenuButtonClicked();
void advancedMenuButtonClicked(); void advancedMenuButtonClicked();
void airframeMenuButtonClicked(); void airframeMenuButtonClicked();
void firmwareMenuButtonClicked(); void firmwareMenuButtonClicked();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment