mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +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
@@ -24,8 +24,8 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fs9
|
||||
{
|
||||
CFs9Host::CFs9Host(QObject *owner) :
|
||||
CDirectPlayPeer(owner, sApp->swiftVersionString())
|
||||
CFs9Host::CFs9Host(QObject *parent) :
|
||||
CDirectPlayPeer(sApp->swiftVersionString(), parent)
|
||||
{
|
||||
initDirectPlay();
|
||||
createHostAddress();
|
||||
|
||||
Reference in New Issue
Block a user