Fix CContextOwnAircraftProxy listening on the wrong DBus P2P interface

ref T531
This commit is contained in:
Roland Rossgotterer
2019-02-19 14:19:36 +01:00
committed by Mat Sutcliffe
parent c6f0c46222
commit 680939346c

View File

@@ -34,7 +34,7 @@ namespace BlackCore
case CCoreFacadeConfig::LocalInDBusServer:
return (new CContextOwnAircraft(mode, parent))->registerWithDBus(server);
case CCoreFacadeConfig::Remote:
return new CContextOwnAircraftProxy(CDBusServer::coreServiceName(), connection, mode, parent);
return new CContextOwnAircraftProxy(CDBusServer::coreServiceName(connection), connection, mode, parent);
case CCoreFacadeConfig::NotUsed:
default:
return new CContextOwnAircraftEmpty(parent);