Commit 39e65e09 authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent c46c9ec1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment