mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e92dbe7974
commit
9117aa2a52
3 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue