summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-27 09:31:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-28 08:34:56 -0800
commite944a93050c910d12fe8fe7f4d8194b3148818f7 (patch)
tree68983baa677b05475cc83a365d7f57e6c2f7a321 /mobile-widgets
parentde4e1c1efab7db814e70b66858d18f4ac74eedff (diff)
downloadsubsurface-e944a93050c910d12fe8fe7f4d8194b3148818f7.tar.gz
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlprefs.cpp23
-rw-r--r--mobile-widgets/qmlprefs.h1
2 files changed, 0 insertions, 24 deletions
diff --git a/mobile-widgets/qmlprefs.cpp b/mobile-widgets/qmlprefs.cpp
index 7c73b26de..5b819aaf0 100644
--- a/mobile-widgets/qmlprefs.cpp
+++ b/mobile-widgets/qmlprefs.cpp
@@ -92,29 +92,6 @@ void QMLPrefs::setShowPin(bool enable)
}
/*** 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()
{
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index 4a792708e..6d36334ce 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -44,7 +44,6 @@ public:
void setShowPin(bool enable);
public slots:
- void cancelCredentialsPinSetup();
void clearCredentials();
private: