summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlprefs.cpp')
-rw-r--r--mobile-widgets/qmlprefs.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index 5220c9c2a..3d5a10f4e 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -12,8 +12,7 @@ QMLPrefs *QMLPrefs::m_instance = NULL;
QMLPrefs::QMLPrefs() :
m_credentialStatus(qPrefCloudStorage::CS_UNKNOWN),
m_oldStatus(qPrefCloudStorage::CS_UNKNOWN),
- m_showPin(false),
- m_timeThreshold(60)
+ m_showPin(false)
{
// This strange construct is needed because QMLEngine calls new and that
// cannot be overwritten
@@ -109,18 +108,6 @@ void QMLPrefs::setShowPin(bool enable)
emit showPinChanged();
}
-int QMLPrefs::timeThreshold() const
-{
- return m_timeThreshold;
-}
-
-void QMLPrefs::setTimeThreshold(int time)
-{
- m_timeThreshold = time;
- GpsLocation::instance()->setGpsTimeThreshold(m_timeThreshold * 60);
- emit timeThresholdChanged();
-}
-
const QString QMLPrefs::theme() const
{
return qPrefDisplay::theme();