mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
5bd64b1a2f
commit
ff2ab95367
@@ -25,9 +25,6 @@ using namespace BlackCore::Fsd;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication qa(argc, argv);
|
||||
|
||||
|
||||
|
||||
COwnAircraftProviderDummy::instance()->updateOwnCallsign("BER368");
|
||||
|
||||
CFSDClient client(CClientProviderDummy::instance(), COwnAircraftProviderDummy::instance(), CRemoteAircraftProviderDummy::instance(), &qa);
|
||||
|
||||
@@ -313,14 +313,6 @@ namespace BlackCore
|
||||
{
|
||||
m_queryPilot.enqueue(aircraft.getCallsign());
|
||||
}
|
||||
|
||||
/**
|
||||
m_network->sendFrequencyQuery(cs);
|
||||
if (!aircraft.hasAircraftDesignator())
|
||||
{
|
||||
m_network->sendIcaoCodesQuery(cs);
|
||||
}
|
||||
**/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -951,8 +943,8 @@ namespace BlackCore
|
||||
if (!airlineIcao.isLoadedFromDb())
|
||||
{
|
||||
if (!airlineIcao.hasValidDesignator()) { airlineIcao.setDesignator(airlineIcaoString.isEmpty() ? callsign.getAirlinePrefix() : airlineIcaoString); }
|
||||
if (!airlineNameLookup.isEmpty()) { airlineIcao.setName(airlineNameLookup); }
|
||||
if (!telephonyLookup.isEmpty()) { airlineIcao.setTelephonyDesignator(telephonyLookup); }
|
||||
if (!airlineNameLookup.isEmpty()) { airlineIcao.setName(airlineNameLookup); }
|
||||
if (!telephonyLookup.isEmpty()) { airlineIcao.setTelephonyDesignator(telephonyLookup); }
|
||||
|
||||
// already try to resolve at this stage by a smart lookup with all the filled data from above
|
||||
airlineIcao = CAircraftMatcher::reverseLookupAirlineIcao(airlineIcao, callsign, log);
|
||||
@@ -1347,7 +1339,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
Q_UNUSED(haveRequestedElevation);
|
||||
Q_UNUSED(haveRequestedElevation)
|
||||
return correctedSituation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user