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.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index 47caef005..96b3f1366 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -55,17 +55,6 @@ void QMLPrefs::setCloudPin(const QString &cloudPin)
emit cloudPinChanged();
}
-const QString QMLPrefs::cloudUserName() const
-{
- return m_cloudUserName;
-}
-
-void QMLPrefs::setCloudUserName(const QString &cloudUserName)
-{
- m_cloudUserName = cloudUserName.toLower();
- emit cloudUserNameChanged();
-}
-
qPrefCloudStorage::cloud_status QMLPrefs::credentialStatus() const
{
return m_credentialStatus;
@@ -140,7 +129,7 @@ void QMLPrefs::cancelCredentialsPinSetup()
void QMLPrefs::clearCredentials()
{
- setCloudUserName(NULL);
+ qPrefCloudStorage::set_cloud_storage_email(NULL);
setCloudPassword(NULL);
setCloudPin(NULL);
}