fixed Clang warnings detected by Jenkins

This commit is contained in:
Mathew Sutcliffe
2014-05-06 18:30:02 +01:00
parent 894df23c50
commit 841ea97421

View File

@@ -32,6 +32,7 @@ namespace BlackGui
Q_ASSERT(c);
c = connect(this->ui->le_AirlineOperator, SIGNAL(textChanged(QString)), this, SLOT(buildRemarkString()));
Q_ASSERT(c);
Q_UNUSED(c);
connect(this->ui->pte_AdditionalRemarks, &QPlainTextEdit::textChanged, this, &CFlightPlanComponent::buildRemarkString);
connect(this->ui->frp_SelcalCode, &CSelcalCodeSelector::valueChanged, this, &CFlightPlanComponent::buildRemarkString);
@@ -79,7 +80,7 @@ namespace BlackGui
BlackMisc::CStatusMessageList messages;
QString v;
CFlightPlan::FlightRules rule;
CFlightPlan::FlightRules rule = CFlightPlan::IFR;
if (this->ui->rb_TypeIfr->isChecked())
rule = CFlightPlan::IFR;
else if (this->ui->rb_TypeVfr->isChecked())