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.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index fa3fb6dcb..3c2da7f73 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -11,8 +11,7 @@
QMLPrefs *QMLPrefs::m_instance = NULL;
QMLPrefs::QMLPrefs() :
- m_oldStatus(qPrefCloudStorage::CS_UNKNOWN),
- m_showPin(false)
+ m_oldStatus(qPrefCloudStorage::CS_UNKNOWN)
{
// This strange construct is needed because QMLEngine calls new and that
// cannot be overwritten
@@ -44,14 +43,3 @@ void QMLPrefs::setOldStatus(const qPrefCloudStorage::cloud_status value)
emit oldStatusChanged();
}
}
-
-bool QMLPrefs::showPin() const
-{
- return m_showPin;
-}
-
-void QMLPrefs::setShowPin(bool enable)
-{
- m_showPin = enable;
- emit showPinChanged();
-}