From 3961d4a2934212ead64c80e38247d020b2be7f74 Mon Sep 17 00:00:00 2001 From: Paul Jewell Date: Fri, 11 Sep 2015 21:24:43 +0100 Subject: [PATCH] Modified GeneralSettings::collectUsageData() to return false --- ground/gcs/src/plugins/coreplugin/generalsettings.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ground/gcs/src/plugins/coreplugin/generalsettings.cpp b/ground/gcs/src/plugins/coreplugin/generalsettings.cpp index 217e94b73..857f16968 100644 --- a/ground/gcs/src/plugins/coreplugin/generalsettings.cpp +++ b/ground/gcs/src/plugins/coreplugin/generalsettings.cpp @@ -160,7 +160,7 @@ void GeneralSettings::finish() void GeneralSettings::readSettings(QSettings *qs) { qs->beginGroup(QLatin1String("General")); - m_language = qs->value(QLatin1String("OverrideLanguage"), QLocale::system().name()).toString(); + m_language = qs->value(QLatin1String("OverrideLanguage"), QLocale::system().name()).toString(); m_saveSettingsOnExit = qs->value(QLatin1String("SaveSettingsOnExit"), m_saveSettingsOnExit).toBool(); m_autoConnect = qs->value(QLatin1String("AutoConnect"), m_autoConnect).toBool(); m_autoSelect = qs->value(QLatin1String("AutoSelect"), m_autoSelect).toBool(); @@ -262,7 +262,8 @@ bool GeneralSettings::useUDPMirror() const bool GeneralSettings::collectUsageData() const { - return m_collectUsageData; + // return m_collectUsageData; + return false; } bool GeneralSettings::showUsageDataDisclaimer() const