mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 05:51:23 +08:00
fixed Clang warnings detected by Jenkins
This commit is contained in:
@@ -32,6 +32,7 @@ namespace BlackGui
|
|||||||
Q_ASSERT(c);
|
Q_ASSERT(c);
|
||||||
c = connect(this->ui->le_AirlineOperator, SIGNAL(textChanged(QString)), this, SLOT(buildRemarkString()));
|
c = connect(this->ui->le_AirlineOperator, SIGNAL(textChanged(QString)), this, SLOT(buildRemarkString()));
|
||||||
Q_ASSERT(c);
|
Q_ASSERT(c);
|
||||||
|
Q_UNUSED(c);
|
||||||
|
|
||||||
connect(this->ui->pte_AdditionalRemarks, &QPlainTextEdit::textChanged, this, &CFlightPlanComponent::buildRemarkString);
|
connect(this->ui->pte_AdditionalRemarks, &QPlainTextEdit::textChanged, this, &CFlightPlanComponent::buildRemarkString);
|
||||||
connect(this->ui->frp_SelcalCode, &CSelcalCodeSelector::valueChanged, this, &CFlightPlanComponent::buildRemarkString);
|
connect(this->ui->frp_SelcalCode, &CSelcalCodeSelector::valueChanged, this, &CFlightPlanComponent::buildRemarkString);
|
||||||
@@ -79,7 +80,7 @@ namespace BlackGui
|
|||||||
BlackMisc::CStatusMessageList messages;
|
BlackMisc::CStatusMessageList messages;
|
||||||
QString v;
|
QString v;
|
||||||
|
|
||||||
CFlightPlan::FlightRules rule;
|
CFlightPlan::FlightRules rule = CFlightPlan::IFR;
|
||||||
if (this->ui->rb_TypeIfr->isChecked())
|
if (this->ui->rb_TypeIfr->isChecked())
|
||||||
rule = CFlightPlan::IFR;
|
rule = CFlightPlan::IFR;
|
||||||
else if (this->ui->rb_TypeVfr->isChecked())
|
else if (this->ui->rb_TypeVfr->isChecked())
|
||||||
|
|||||||
Reference in New Issue
Block a user