diff --git a/src/blackcore/context/contextownaircraft.cpp b/src/blackcore/context/contextownaircraft.cpp index 6a3626dae..198a74865 100644 --- a/src/blackcore/context/contextownaircraft.cpp +++ b/src/blackcore/context/contextownaircraft.cpp @@ -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);