Improved logging of "adding aircraft" so we can see details such as the model string

This commit is contained in:
Klaus Basan
2019-08-11 20:05:16 +02:00
parent bd49f5151a
commit eb67310b04
8 changed files with 18 additions and 5 deletions

View File

@@ -652,7 +652,7 @@ namespace BlackSimPlugin
if (this->canAddAircraft())
{
// no aircraft pending, add
CLogMessage(this).info(u"Adding '%1' to XPlane") << newRemoteAircraft.getCallsign();
this->logAddingAircraftModel(newRemoteAircraft);
const qint64 now = QDateTime::currentMSecsSinceEpoch();
m_addingInProgressAircraft.insert(newRemoteAircraft.getCallsign(), now);
const QString callsign = newRemoteAircraft.getCallsign().asString();