diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-21 17:33:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 03:15:52 +0900 |
commit | 9117aa2a52bec1997cb69984e6a9f333432e5167 (patch) | |
tree | 7eb32ef9b1029d5496db4deaa03f00f73364bcbe /mobile-widgets/qmlmanager.h | |
parent | e92dbe7974a1b28b0c26438b7818f3249f82ac4c (diff) | |
download | subsurface-9117aa2a52bec1997cb69984e6a9f333432e5167.tar.gz |
mobile-widgets: make saveCredentials() an atom
Call saveCredentials with username/password to avoid first
setting the two and then calling.
Change saveCredentials() to use newUser, newPassword.
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 0c61615a0..14baf6dd8 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -167,7 +167,7 @@ public: public slots: void appInitialized(); void applicationStateChanged(Qt::ApplicationState state); - void saveCloudCredentials(); + void saveCloudCredentials(const QString &email, const QString &password); bool verifyCredentials(QString email, QString password, QString pin); void tryRetrieveDataFromBackend(); void handleError(QNetworkReply::NetworkError nError); |