mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
[FS9] Fix double deletion of CFs9Host
CFs9Host was guarded by a QSharedPointer plus it had a QObject parent.
This commit is contained in:
committed by
Mat Sutcliffe
parent
23c41a408b
commit
f60a44ea1e
@@ -13,7 +13,6 @@
|
||||
#include "hostnode.h"
|
||||
#include "callbackwrapper.h"
|
||||
#include "blackmisc/aviation/callsign.h"
|
||||
#include "blackmisc/worker.h"
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include <QObject>
|
||||
#include <QList>
|
||||
@@ -38,7 +37,7 @@ namespace BlackSimPlugin
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CDirectPlayPeer(QObject *parent, const BlackMisc::Aviation::CCallsign &callsign);
|
||||
CDirectPlayPeer(const BlackMisc::Aviation::CCallsign &callsign, QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CDirectPlayPeer() override;
|
||||
|
||||
Reference in New Issue
Block a user