diff --git a/src/ADSB/ADSBVehicle.h b/src/ADSB/ADSBVehicle.h index b51fa157a5d1005713345370e1949cf08443b1dc..c84c4fad81aeded19b774dd39faa3b1bf96cb543 100644 --- a/src/ADSB/ADSBVehicle.h +++ b/src/ADSB/ADSBVehicle.h @@ -67,12 +67,6 @@ signals: void alertChanged (); private: - /* According with Thomas Voß, we should be using 2 minutes for the time being - static constexpr qint64 expirationTimeoutMs = 5000; ///< timeout with no update in ms after which the vehicle is removed. - ///< AirMap sends updates for each vehicle every second. - */ - static constexpr qint64 expirationTimeoutMs = 120000; - uint32_t _icaoAddress; QString _callsign; QGeoCoordinate _coordinate; @@ -81,6 +75,9 @@ private: bool _alert; QElapsedTimer _lastUpdateTimer; + + static constexpr qint64 expirationTimeoutMs = 120000; ///< timeout with no update in ms after which the vehicle is removed. + ///< AirMap sends updates for each vehicle every second. }; Q_DECLARE_METATYPE(ADSBVehicle::VehicleInfo_t)