refs #395, some functions renamed in network provider/context

Goal: consistent function names in own and remote aircraft provider
This commit is contained in:
Klaus Basan
2015-04-26 19:26:16 +02:00
committed by Mathew Sutcliffe
parent 05be0ecb37
commit 1b9878fdd3
17 changed files with 34 additions and 34 deletions

View File

@@ -165,7 +165,7 @@ namespace BlackSimPlugin
CAircraftModel aircraftModel = modelMatching(newRemoteAircraftCopy);
Q_ASSERT_X(newRemoteAircraft.getCallsign() == aircraftModel.getCallsign(), Q_FUNC_INFO, "mismatching callsigns");
this->updateAircraftModel(newRemoteAircraft.getCallsign(), aircraftModel, simulatorOriginator());
CSimulatedAircraft aircraftAfterModelApplied(getAircraftForCallsign(newRemoteAircraft.getCallsign()));
CSimulatedAircraft aircraftAfterModelApplied(getAircraftInRangeForCallsign(newRemoteAircraft.getCallsign()));
aircraftAfterModelApplied.setRendered(true);
emit modelMatchingCompleted(aircraftAfterModelApplied);

View File

@@ -336,7 +336,7 @@ namespace BlackSimPlugin
{
//! \todo XP implement isRenderedAircraft correctly
// work around, but not really telling me if callsign is really(!) visible in SIM
return getAircraftForCallsign(callsign).isRendered();
return getAircraftInRangeForCallsign(callsign).isRendered();
}
bool CSimulatorXPlane::updateOwnSimulatorCockpit(const BlackMisc::Aviation::CAircraft &aircraft, const QString &originator)