Commit f1d58284 authored by chriadam's avatar chriadam

[nemo-qml-plugin-systemsettings] Write location.conf MLS settings correctly....

[nemo-qml-plugin-systemsettings] Write location.conf MLS settings correctly. Contributes to JB#37470

Previously, the MLS enablement states were not written correctly.

Contributes to JB#37470
parent afa64e4d
......@@ -318,9 +318,9 @@ void LocationSettings::writeSettings()
locationSettingsValues.append(";");
locationSettingsValues.append(boolToString(m_mlsEnabled));
locationSettingsValues.append(";");
locationSettingsValues.append(boolToString(m_mlsOnlineState));
locationSettingsValues.append(boolToString(m_mlsOnlineState != OnlineAGpsAgreementNotAccepted));
locationSettingsValues.append(";");
locationSettingsValues.append(boolToString(m_mlsOnlineState));
locationSettingsValues.append(boolToString(m_mlsOnlineState == OnlineAGpsEnabled));
locationSettingsValues.append(";");
locationSettingsValues.append(boolToString(m_hereState == OnlineAGpsEnabled));
locationSettingsValues.append(";");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment