[FS9] Fix double deletion of CFs9Host

CFs9Host was guarded by a QSharedPointer plus it had a QObject parent.
This commit is contained in:
Roland Rossgotterer
2020-02-03 15:13:32 +01:00
committed by Mat Sutcliffe
parent 23c41a408b
commit f60a44ea1e
6 changed files with 25 additions and 26 deletions

View File

@@ -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();