Ref T683, style

This commit is contained in:
Klaus Basan
2019-06-13 00:09:44 +02:00
committed by Mat Sutcliffe
parent 70a350ed66
commit daeea07090
14 changed files with 64 additions and 58 deletions

View File

@@ -534,6 +534,7 @@ namespace BlackMisc
bool CSimulatedAircraft::setCG(const CLength &cg)
{
if (cg.isNull()) { return false; }
// ???? set to both models, or only the matched model ????
const int c = m_models.setCG(cg);
return c > 0;
}

View File

@@ -347,8 +347,8 @@ namespace BlackMisc
{
QWriteLocker l(&m_lockElvCoordinates);
m_statsCurrentElevRequestTimeMs = -1;
m_statsMaxElevRequestTimeMs = -1;
m_elvFound = m_elvMissed = 0;
m_statsMaxElevRequestTimeMs = -1;
m_elvFound = m_elvMissed = 0;
}
ISimulationEnvironmentProvider::ISimulationEnvironmentProvider(const CSimulatorPluginInfo &pluginInfo) :
@@ -447,7 +447,7 @@ namespace BlackMisc
m_pendingElevationRequests.clear();
m_statsCurrentElevRequestTimeMs = -1;
m_statsMaxElevRequestTimeMs = -1;
m_elvFound = m_elvMissed = 0;
m_elvFound = m_elvMissed = 0;
}
void ISimulationEnvironmentProvider::clearCGs()