mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Style
This commit is contained in:
@@ -629,6 +629,8 @@ namespace BlackSimPlugin
|
|||||||
m_addingInProgressAircraft.insert(newRemoteAircraft.getCallsign(), now);
|
m_addingInProgressAircraft.insert(newRemoteAircraft.getCallsign(), now);
|
||||||
const QString callsign = newRemoteAircraft.getCallsign().asString();
|
const QString callsign = newRemoteAircraft.getCallsign().asString();
|
||||||
CAircraftModel aircraftModel = newRemoteAircraft.getModel();
|
CAircraftModel aircraftModel = newRemoteAircraft.getModel();
|
||||||
|
|
||||||
|
// some more validation
|
||||||
if (aircraftModel.getCallsign() != newRemoteAircraft.getCallsign())
|
if (aircraftModel.getCallsign() != newRemoteAircraft.getCallsign())
|
||||||
{
|
{
|
||||||
CLogMessage(this).warning(u"Model for '%1' has no callsign, maybe using a default model") << callsign;
|
CLogMessage(this).warning(u"Model for '%1' has no callsign, maybe using a default model") << callsign;
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ namespace BlackSimPlugin
|
|||||||
//! Timestamps of aircraft currently adding
|
//! Timestamps of aircraft currently adding
|
||||||
QPair<qint64, qint64> minMaxTimestampsAddInProgress() const;
|
QPair<qint64, qint64> minMaxTimestampsAddInProgress() const;
|
||||||
|
|
||||||
//! Can the next aircraft be added?
|
//! Can the next aircraft be added? No other aircraft adding in progress?
|
||||||
bool canAddAircraft() const;
|
bool canAddAircraft() const;
|
||||||
|
|
||||||
//! Callbacks from simulator @{
|
//! Callbacks from simulator @{
|
||||||
|
|||||||
Reference in New Issue
Block a user