Ref T275, unified elevation missed info -> getElevationsFoundMissedInfo()

This commit is contained in:
Klaus Basan
2018-06-19 02:11:24 +02:00
parent 984f06f79f
commit e0b95859c1
5 changed files with 32 additions and 14 deletions

View File

@@ -224,8 +224,6 @@ namespace BlackMisc
// logging
if (this->doLogging())
{
static const QString elv("found %1 missed %2");
const QPair<int, int> elvStats = this->getElevationsFoundMissed();
log.tsCurrent = m_currentTimeMsSinceEpoch;
log.callsign = m_callsign;
log.groundFactor = currentSituation.getOnGroundFactor();
@@ -233,7 +231,7 @@ namespace BlackMisc
log.situationCurrent = currentSituation;
log.change = m_pastSituationsChange;
log.usedSetup = m_currentSetup;
log.elevationInfo = elv.arg(elvStats.first).arg(elvStats.second);
log.elevationInfo = this->getElevationsFoundMissedInfo();
log.cgAboveGround = currentSituation.getCG();
log.sceneryOffset = m_currentSceneryOffset;
m_logger->logInterpolation(log);