diff options
author | jan Iversen <jani@apache.org> | 2018-09-12 09:12:03 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-12 20:17:39 -0700 |
commit | baa828e900b2dc1c647c62483a13737baadfa76c (patch) | |
tree | b622cd0aa0f974427b60658d006d565cc0559f80 /mobile-widgets/qmlprefs.cpp | |
parent | c454f6954f0fc5fdd490c50ff13f556660de5ed8 (diff) | |
download | subsurface-baa828e900b2dc1c647c62483a13737baadfa76c.tar.gz |
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 <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r-- | mobile-widgets/qmlprefs.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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; |