mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
FSX listener adjustments, timer requires "this" parent here
https://swift-project.slack.com/archives/G7GD2UP9C/p1534445228000100
This commit is contained in:
@@ -113,7 +113,7 @@ namespace BlackSimPlugin
|
||||
QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CSimulatorFsxCommon();
|
||||
virtual ~CSimulatorFsxCommon() override;
|
||||
|
||||
//! \name ISimulator implementations
|
||||
//! @{
|
||||
@@ -516,7 +516,7 @@ namespace BlackSimPlugin
|
||||
bool checkSimConnectDll() const;
|
||||
|
||||
private:
|
||||
QTimer m_timer;
|
||||
QTimer m_timer { this }; //!< timer, "this" is needed otherwise
|
||||
QString m_simulatorVersion;
|
||||
QString m_simConnectVersion;
|
||||
QString m_simulatorName;
|
||||
|
||||
Reference in New Issue
Block a user