From baa828e900b2dc1c647c62483a13737baadfa76c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 12 Sep 2018 09:12:03 +0200 Subject: mobile-widgets: move distanceThreshold handling to qPref Remove distanceThreshold from qmlprefs and use qPref instead update qml no user experience change Signed-off-by: Jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlprefs.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'mobile-widgets/qmlprefs.cpp') diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp index 4e8cc8726..5220c9c2a 100644 --- a/mobile-widgets/qmlprefs.cpp +++ b/mobile-widgets/qmlprefs.cpp @@ -11,7 +11,6 @@ QMLPrefs *QMLPrefs::m_instance = NULL; QMLPrefs::QMLPrefs() : m_credentialStatus(qPrefCloudStorage::CS_UNKNOWN), - m_distanceThreshold(1000), m_oldStatus(qPrefCloudStorage::CS_UNKNOWN), m_showPin(false), m_timeThreshold(60) @@ -86,17 +85,6 @@ void QMLPrefs::setCredentialStatus(const qPrefCloudStorage::cloud_status value) } } -int QMLPrefs::distanceThreshold() const -{ - return m_distanceThreshold; -} - -void QMLPrefs::setDistanceThreshold(int distance) -{ - m_distanceThreshold = distance; - emit distanceThresholdChanged(); -} - qPrefCloudStorage::cloud_status QMLPrefs::oldStatus() const { return m_oldStatus; -- cgit v1.2.3-70-g09d2