summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-12 09:12:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-12 20:17:39 -0700
commitbaa828e900b2dc1c647c62483a13737baadfa76c (patch)
treeb622cd0aa0f974427b60658d006d565cc0559f80 /mobile-widgets/qmlprefs.h
parentc454f6954f0fc5fdd490c50ff13f556660de5ed8 (diff)
downloadsubsurface-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.h')
-rw-r--r--mobile-widgets/qmlprefs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index f1cd41fb4..4127d9b79 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -25,10 +25,6 @@ class QMLPrefs : public QObject {
MEMBER m_credentialStatus
WRITE setCredentialStatus
NOTIFY credentialStatusChanged)
- Q_PROPERTY(int distanceThreshold
- MEMBER m_distanceThreshold
- WRITE setDistanceThreshold
- NOTIFY distanceThresholdChanged)
Q_PROPERTY(bool showPin
MEMBER m_showPin
WRITE setShowPin
@@ -64,9 +60,6 @@ public:
qPrefCloudStorage::cloud_status credentialStatus() const;
void setCredentialStatus(const qPrefCloudStorage::cloud_status value);
- int distanceThreshold() const;
- void setDistanceThreshold(int distance);
-
qPrefCloudStorage::cloud_status oldStatus() const;
void setOldStatus(const qPrefCloudStorage::cloud_status value);
@@ -88,7 +81,6 @@ private:
QString m_cloudPin;
QString m_cloudUserName;
qPrefCloudStorage::cloud_status m_credentialStatus;
- int m_distanceThreshold;
static QMLPrefs *m_instance;
qPrefCloudStorage::cloud_status m_oldStatus;
bool m_showPin;
@@ -99,7 +91,6 @@ signals:
void cloudPinChanged();
void cloudUserNameChanged();
void credentialStatusChanged();
- void distanceThresholdChanged();
void oldStatusChanged();
void showPinChanged();
void themeChanged();