From 7d21b6ce0b5430a92615d6ae023b611b77faf533 Mon Sep 17 00:00:00 2001 From: Roland Rossgotterer Date: Tue, 19 Feb 2019 10:23:20 +0100 Subject: [PATCH] Fix remote DBus call function names --- src/blackcore/context/contextnetworkproxy.cpp | 8 ++++---- src/blackcore/context/contextownaircraftproxy.cpp | 2 +- src/blackcore/context/contextsimulatorproxy.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/blackcore/context/contextnetworkproxy.cpp b/src/blackcore/context/contextnetworkproxy.cpp index 237da4b64..786b377f3 100644 --- a/src/blackcore/context/contextnetworkproxy.cpp +++ b/src/blackcore/context/contextnetworkproxy.cpp @@ -201,7 +201,7 @@ namespace BlackCore bool CContextNetworkProxy::setOtherClient(const CClient &client) { - return m_dBusInterface->callDBusRet(QLatin1String("setOtherClientForCallsign"), client); + return m_dBusInterface->callDBusRet(QLatin1String("setOtherClient"), client); } CVoiceRoomList CContextNetworkProxy::getSelectedVoiceRooms() const @@ -231,7 +231,7 @@ namespace BlackCore bool CContextNetworkProxy::setAircraftEnabledFlag(const CCallsign &callsign, bool enabledForRendering) { - return m_dBusInterface->callDBusRet(QLatin1String("setEnabledFlag"), callsign, enabledForRendering); + return m_dBusInterface->callDBusRet(QLatin1String("setAircraftEnabledFlag"), callsign, enabledForRendering); } bool CContextNetworkProxy::updateAircraftModel(const CCallsign &callsign, const CAircraftModel &model, const CIdentifier &originator) @@ -276,12 +276,12 @@ namespace BlackCore bool CContextNetworkProxy::isReverseLookupMessagesEnabled() const { - return m_dBusInterface->callDBusRet(QLatin1String("isReverseLookupLoggingEnabled")); + return m_dBusInterface->callDBusRet(QLatin1String("isReverseLookupMessagesEnabled")); } void CContextNetworkProxy::enableReverseLookupMessages(bool enabled) { - m_dBusInterface->callDBus(QLatin1String("enableReverseLookupLogging"), enabled); + m_dBusInterface->callDBus(QLatin1String("enableReverseLookupMessages"), enabled); } CStatusMessageList CContextNetworkProxy::getAircraftPartsHistory(const CCallsign &callsign) const diff --git a/src/blackcore/context/contextownaircraftproxy.cpp b/src/blackcore/context/contextownaircraftproxy.cpp index 207c458d5..0baeb8f8a 100644 --- a/src/blackcore/context/contextownaircraftproxy.cpp +++ b/src/blackcore/context/contextownaircraftproxy.cpp @@ -100,7 +100,7 @@ namespace BlackCore bool CContextOwnAircraftProxy::updateTransponderMode(const CTransponder::TransponderMode &transponderMode, const CIdentifier &originator) { - return m_dBusInterface->callDBusRet(QLatin1String("updateCockpit"), transponderMode, originator); + return m_dBusInterface->callDBusRet(QLatin1String("updateTransponderMode"), transponderMode, originator); } bool CContextOwnAircraftProxy::updateActiveComFrequency(const PhysicalQuantities::CFrequency &frequency, BlackMisc::Aviation::CComSystem::ComUnit comUnit, const CIdentifier &originator) diff --git a/src/blackcore/context/contextsimulatorproxy.cpp b/src/blackcore/context/contextsimulatorproxy.cpp index ae8c19eda..e195d0b15 100644 --- a/src/blackcore/context/contextsimulatorproxy.cpp +++ b/src/blackcore/context/contextsimulatorproxy.cpp @@ -222,7 +222,7 @@ namespace BlackCore CInterpolationAndRenderingSetupPerCallsign CContextSimulatorProxy::getInterpolationAndRenderingSetupPerCallsignOrDefault(const CCallsign &callsign) const { - return m_dBusInterface->callDBusRet(QLatin1String("getInterpolationAndRenderingSetupsPerCallsign"), callsign); + return m_dBusInterface->callDBusRet(QLatin1String("getInterpolationAndRenderingSetupPerCallsignOrDefault"), callsign); } bool CContextSimulatorProxy::setInterpolationAndRenderingSetupsPerCallsign(const CInterpolationSetupList &setups, bool ignoreSameAsGlobal) @@ -282,7 +282,7 @@ namespace BlackCore bool CContextSimulatorProxy::resetToModelMatchingAircraft(const CCallsign &callsign) { - return m_dBusInterface->callDBusRet(QLatin1String("resetToModelMatchingAircraft"), callsign, callsign); + return m_dBusInterface->callDBusRet(QLatin1String("resetToModelMatchingAircraft"), callsign); } void CContextSimulatorProxy::setWeatherActivated(bool activated)