mobile-widgets: remove setTimeThreshold from system

Use qPrefLocationService::set_time_threshold and remove from
qmlprefs.cpp and qmlmanager.cpp

Remark: mobile UI shows time in minutes, while it is stored (and calculated)
in seconds. Therefore a /60 when reading and *60 when setting.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-12 13:40:59 +02:00 committed by Dirk Hohndel
parent 504e912512
commit 51bc41b517
5 changed files with 3 additions and 34 deletions

View file

@ -146,7 +146,6 @@ public:
public slots:
void appInitialized();
void applicationStateChanged(Qt::ApplicationState state);
void savePreferences();
void saveCloudCredentials();
void tryRetrieveDataFromBackend();
void handleError(QNetworkReply::NetworkError nError);