mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #420, MS review
Fixes as described here https://dev.vatsim-germany.org/issues/420#note-5
This commit is contained in:
@@ -160,13 +160,13 @@ void Client::presetCallsignCmd(QTextStream &args)
|
||||
void Client::presetIcaoCodesCmd(QTextStream &args)
|
||||
{
|
||||
QString acTypeICAO;
|
||||
QString descriptionICAO; //! \todo Is this the combined type ("L2J")?
|
||||
QString combinedIcaoType; // e.g. "L2J"
|
||||
QString airlineICAO;
|
||||
QString livery;
|
||||
QString color;
|
||||
args >> acTypeICAO >> descriptionICAO >> airlineICAO >> livery >> color;
|
||||
args >> acTypeICAO >> combinedIcaoType >> airlineICAO >> livery >> color;
|
||||
BlackMisc::Aviation::CAircraftIcaoData icaoData(
|
||||
CAircraftIcaoCode(acTypeICAO, descriptionICAO),
|
||||
CAircraftIcaoCode(acTypeICAO, combinedIcaoType),
|
||||
CAirlineIcaoCode(airlineICAO),
|
||||
color);
|
||||
icaoData.setLivery(livery);
|
||||
|
||||
Reference in New Issue
Block a user