From 0a87b305729fa42c284d99625192ae599cdb334b Mon Sep 17 00:00:00 2001 From: m_thread Date: Fri, 13 Mar 2015 07:21:27 +0100 Subject: [PATCH] OP-1777 Fixed a compiler error. --- .../src/plugins/usagetracker/usagetrackerplugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/usagetracker/usagetrackerplugin.cpp b/ground/openpilotgcs/src/plugins/usagetracker/usagetrackerplugin.cpp index 10a442bf2..23a65b1b3 100644 --- a/ground/openpilotgcs/src/plugins/usagetracker/usagetrackerplugin.cpp +++ b/ground/openpilotgcs/src/plugins/usagetracker/usagetrackerplugin.cpp @@ -172,10 +172,10 @@ void UsageTrackerPlugin::collectUsageParameters(QMap ¶mete ManualControlSettings *controlSettings = ManualControlSettings::GetInstance(objManager); parameters["settings_receiver"] = controlSettings->getField("ChannelGroups")->getValue(ManualControlSettings::CHANNELGROUPS_THROTTLE).toString(); - RevoSettings revoSettings = RevoSettings::GetInstance(objManager); + RevoSettings *revoSettings = RevoSettings::GetInstance(objManager); // Only get this info if uavo is known by controller - if (revoSettings.isKnown()) { - parameters["settings_fusion"] = revoSettings.getField("FusionAlgorithm")->getValue().toString(); + if (revoSettings->isKnown()) { + parameters["settings_fusion"] = revoSettings->getField("FusionAlgorithm")->getValue().toString(); } } }