From 48bae80577e977fb1f3558e228c0162efdb365ed Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Fri, 20 Dec 2019 17:08:42 +0100 Subject: mobile UI/login: remove cloudPassword from QMLPrefs cloudPassword is no longer used as a temporary variable Remove cloudPassword from QMLPrefs. Signed-off-by: Jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlprefs.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mobile-widgets/qmlprefs.h') diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h index a0c4b85a7..4a792708e 100644 --- a/mobile-widgets/qmlprefs.h +++ b/mobile-widgets/qmlprefs.h @@ -9,10 +9,6 @@ class QMLPrefs : public QObject { Q_OBJECT - Q_PROPERTY(QString cloudPassword - MEMBER m_cloudPassword - WRITE setCloudPassword - NOTIFY cloudPasswordChanged) Q_PROPERTY(QString cloudPin MEMBER m_cloudPin WRITE setCloudPin @@ -35,9 +31,6 @@ public: static QMLPrefs *instance(); - const QString cloudPassword() const; - void setCloudPassword(const QString &cloudPassword); - const QString cloudPin() const; void setCloudPin(const QString &cloudPin); @@ -55,7 +48,6 @@ public slots: void clearCredentials(); private: - QString m_cloudPassword; QString m_cloudPin; qPrefCloudStorage::cloud_status m_credentialStatus; static QMLPrefs *m_instance; @@ -63,7 +55,6 @@ private: bool m_showPin; signals: - void cloudPasswordChanged(); void cloudPinChanged(); void credentialStatusChanged(); void oldStatusChanged(); -- cgit v1.2.3-70-g09d2