mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Improved logging of "adding aircraft" so we can see details such as the model string
This commit is contained in:
committed by
Mat Sutcliffe
parent
d947baf344
commit
26afc5160d
@@ -490,7 +490,7 @@ namespace BlackSimPlugin
|
||||
if (this->canAddAircraft())
|
||||
{
|
||||
// no aircraft pending, add
|
||||
CLogMessage(this).info(u"Adding '%1' to Flightgear") << newRemoteAircraft.getCallsign();
|
||||
this->logAddingAircraftModel(newRemoteAircraft);
|
||||
const qint64 now = QDateTime::currentMSecsSinceEpoch();
|
||||
m_addingInProgressAircraft.insert(newRemoteAircraft.getCallsign(), now);
|
||||
const QString callsign = newRemoteAircraft.getCallsign().asString();
|
||||
|
||||
Reference in New Issue
Block a user