aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-09-27 17:24:03 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-09-29 08:13:25 -0700
commitcf8e87545f1e2bfb2d995e6ad9bbd348589293c6 (patch)
tree310f3bf5434fcf82ceedd3ab5bad0dfb56015bcf /mobile-widgets/qmlmanager.h
parent801b1bc5f52f6aa7678c07443e266e70417f7227 (diff)
downloadsubsurface-cf8e87545f1e2bfb2d995e6ad9bbd348589293c6.tar.gz
mobile: add helper function cancelCredentialsPinSetup()
As written in 8d9ad3cfea7e4c0875, the user needs to be able to exit the PIN entry UI, in case no PIN can be received due to a wrong email address. The simplest way seems to just clear the cloud credential data, and let the user try again. Obviously, we could argue if the exact previous state of the 1st credentials screen could be restored, but as it is only 2 simple fields, of which it is higly likely that the email adress is misspelled (and the password hidden), it seems overly complex to implement. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index dec9e6502..87668d92e 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -167,6 +167,7 @@ public slots:
void populateGpsData();
void cancelDownloadDC();
void clearGpsData();
+ void cancelCredentialsPinSetup();
void finishSetup();
void openLocalThenRemote(QString url);
void mergeLocalRepo();