mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #445, samples for vPilot rules
* new samples for vPilot rules * also adjusted other samples to latest changes (livery, new readers)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c760f1d424
commit
3c9f95356e
@@ -164,14 +164,10 @@ void Client::presetIcaoCodesCmd(QTextStream &args)
|
||||
QString acTypeICAO;
|
||||
QString combinedIcaoType; // e.g. "L2J"
|
||||
QString airlineICAO;
|
||||
QString livery;
|
||||
QString color;
|
||||
args >> acTypeICAO >> combinedIcaoType >> airlineICAO >> livery >> color;
|
||||
args >> acTypeICAO >> combinedIcaoType >> airlineICAO;
|
||||
BlackMisc::Aviation::CAircraftIcaoData icaoData(
|
||||
CAircraftIcaoCode(acTypeICAO, combinedIcaoType),
|
||||
CAirlineIcaoCode(airlineICAO),
|
||||
color);
|
||||
icaoData.setLivery(livery);
|
||||
CAirlineIcaoCode(airlineICAO));
|
||||
emit presetIcaoCodes(icaoData);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user