mobile UI/login: remove cloudUserName from QMLPrefs

cloudUserName is no longer used as a temporary variable.

Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-20 16:50:52 +01:00 committed by Dirk Hohndel
parent ac28896a5d
commit a97cc83458
2 changed files with 1 additions and 21 deletions

View file

@ -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);
}