mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Renaming in flight plan
This commit is contained in:
@@ -50,11 +50,11 @@ namespace BlackGui
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void CFlightPlanComponent::prefillWithAircraftData(const BlackMisc::Aviation::CAircraft &aircraftData)
|
||||
void CFlightPlanComponent::prefillWithAircraftData(const BlackMisc::Aviation::CAircraft &ownAircraft)
|
||||
{
|
||||
this->ui->le_Callsign->setText(aircraftData.getCallsign().asString());
|
||||
this->ui->le_AircraftType->setText(aircraftData.getIcaoInfo().getAircraftDesignator());
|
||||
this->ui->le_PilotsName->setText(aircraftData.getPilot().getRealName());
|
||||
this->ui->le_Callsign->setText(ownAircraft.getCallsign().asString());
|
||||
this->ui->le_AircraftType->setText(ownAircraft.getIcaoInfo().getAircraftDesignator());
|
||||
this->ui->le_PilotsName->setText(ownAircraft.getPilot().getRealName());
|
||||
}
|
||||
|
||||
void CFlightPlanComponent::fillWithFlightPlanData(const BlackMisc::Aviation::CFlightPlan &flightPlan)
|
||||
|
||||
Reference in New Issue
Block a user