mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widgets: make saveCredentials() an atom
Add pin parameter to saveCredentials() thereby having all info about credentials in one function call. Add "" as pin in saveCredentials() - main.qml, when verifying credentials. replace verifyCredentials() with saveCredentials() in the register button on the pin page. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ad1c3892f9
commit
096f9773f0
3 changed files with 6 additions and 6 deletions
|
@ -167,7 +167,7 @@ public:
|
|||
public slots:
|
||||
void appInitialized();
|
||||
void applicationStateChanged(Qt::ApplicationState state);
|
||||
void saveCloudCredentials(const QString &email, const QString &password);
|
||||
void saveCloudCredentials(const QString &email, const QString &password, const QString &pin);
|
||||
bool verifyCredentials(QString email, QString password, QString pin);
|
||||
void tryRetrieveDataFromBackend();
|
||||
void handleError(QNetworkReply::NetworkError nError);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue