aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r--mobile-widgets/qmlprefs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index 61e26fd4c..9f5673329 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -10,7 +10,7 @@
class QMLPrefs : public QObject {
Q_OBJECT
Q_PROPERTY(qPrefCloudStorage::cloud_status credentialStatus
- MEMBER m_credentialStatus
+ READ credentialStatus
WRITE setCredentialStatus
NOTIFY credentialStatusChanged)
Q_PROPERTY(bool showPin
@@ -37,7 +37,6 @@ public:
void setShowPin(bool enable);
private:
- qPrefCloudStorage::cloud_status m_credentialStatus;
static QMLPrefs *m_instance;
qPrefCloudStorage::cloud_status m_oldStatus;
bool m_showPin;