mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets: remove cancelCredentialsPinSetup() from qmlprefs
cancelCredentialsPinSetup() is no longer used, so remove it. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
de4e1c1efa
commit
e944a93050
2 changed files with 0 additions and 24 deletions
|
@ -92,29 +92,6 @@ void QMLPrefs::setShowPin(bool enable)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** public slot functions ***/
|
/*** public slot functions ***/
|
||||||
void QMLPrefs::cancelCredentialsPinSetup()
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* The user selected <cancel> on the final stage of the
|
|
||||||
* cloud account generation (entering the emailed PIN).
|
|
||||||
*
|
|
||||||
* Resets the cloud credential status to CS_UNKNOWN, resulting
|
|
||||||
* in a return to the first crededentials page, with the
|
|
||||||
* email and passwd still filled in. In case of a cancel
|
|
||||||
* of registration (from the PIN page), the email address
|
|
||||||
* was probably misspelled, so the user never received a PIN to
|
|
||||||
* complete the process.
|
|
||||||
*
|
|
||||||
* Notice that this function is also used to switch to a different
|
|
||||||
* cloud account, so the name is not perfect.
|
|
||||||
*/
|
|
||||||
|
|
||||||
setCredentialStatus(qPrefCloudStorage::CS_UNKNOWN);
|
|
||||||
qPrefCloudStorage::set_cloud_verification_status(m_credentialStatus);
|
|
||||||
QMLManager::instance()->setStartPageText(tr("Starting..."));
|
|
||||||
|
|
||||||
setShowPin(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
void QMLPrefs::clearCredentials()
|
void QMLPrefs::clearCredentials()
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,7 +44,6 @@ public:
|
||||||
void setShowPin(bool enable);
|
void setShowPin(bool enable);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void cancelCredentialsPinSetup();
|
|
||||||
void clearCredentials();
|
void clearCredentials();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue