mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Fix CContextOwnAircraftProxy listening on the wrong DBus P2P interface
ref T531
This commit is contained in:
committed by
Mat Sutcliffe
parent
c6f0c46222
commit
680939346c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user