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 <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-20 17:08:42 +01:00 committed by Dirk Hohndel
parent 5af7727ad0
commit 48bae80577
2 changed files with 1 additions and 21 deletions

View file

@ -33,17 +33,6 @@ QMLPrefs *QMLPrefs::instance()
/*** public functions ***/
const QString QMLPrefs::cloudPassword() const
{
return m_cloudPassword;
}
void QMLPrefs::setCloudPassword(const QString &cloudPassword)
{
m_cloudPassword = cloudPassword;
emit cloudPasswordChanged();
}
const QString QMLPrefs::cloudPin() const
{
return m_cloudPin;
@ -130,6 +119,6 @@ void QMLPrefs::cancelCredentialsPinSetup()
void QMLPrefs::clearCredentials()
{
qPrefCloudStorage::set_cloud_storage_email(NULL);
setCloudPassword(NULL);
qPrefCloudStorage::set_cloud_storage_password(NULL);
setCloudPin(NULL);
}