mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 13:15:39 +08:00
[FSX/P3D] self adjusting timer for listener
P3D with remote connections caan be SLOW before running in a timeout
This commit is contained in:
committed by
Mat Sutcliffe
parent
26bd157551
commit
2497e689af
@@ -667,6 +667,8 @@ namespace BlackSimPlugin
|
||||
bool checkSimConnectDll() const;
|
||||
|
||||
private:
|
||||
static constexpr int MinQueryIntervalMs = 5 * 1000; // 5 seconds
|
||||
|
||||
QTimer m_timer { this }; //!< timer, "this" is needed otherwise I get warnings when move to new thread
|
||||
QString m_simulatorVersion;
|
||||
QString m_simConnectVersion;
|
||||
|
||||
Reference in New Issue
Block a user