From 75ce813a27fc22fca8e4b1c7484333235c9caea6 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 6 Aug 2018 17:36:29 +0200 Subject: core: activate qPrefLocationService remove LocationService from SettingsObjectWrapper and reference qPrefLocationService update files using SettingsObjectWrapper/LocationService to use qPrefLocationService this activated qPrefLocationService and removed the similar class from SettingsObjectWrapper. Signed-off-by: Jan Iversen --- mobile-widgets/qmlmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 6a5043583..5ede64152 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -425,8 +425,8 @@ QMLManager *QMLManager::instance() void QMLManager::savePreferences() { auto location = SettingsObjectWrapper::instance()->location_settings; - location->setTimeThreshold(QMLPrefs::instance()->timeThreshold() * 60); - location->setDistanceThreshold(QMLPrefs::instance()->distanceThreshold()); + location->set_time_threshold(QMLPrefs::instance()->timeThreshold() * 60); + location->set_distance_threshold(QMLPrefs::instance()->distanceThreshold()); } #define CLOUDURL QString(prefs.cloud_base_url) -- cgit v1.2.3-70-g09d2